Fixed no_force_pull
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is failing

This commit is contained in:
2023-08-22 17:31:08 +02:00
parent 6698f5978a
commit d6a684c400

View File

@@ -76,6 +76,11 @@ func main() {
Value: "node:16-buster-slim",
EnvVar: "PLUGIN_ACTION_IMAGE",
},
cli.BoolFlag{
Name: "no-force-pull",
Usage: "disable forced pulling in act",
EnvVar: "PLUGIN_NO_FORCE_PULL",
},
cli.StringFlag{
Name: "event-payload",
Usage: "Webhook event payload",
@@ -188,23 +193,24 @@ func run(c *cli.Context) error {
Env: actionEnv,
Verbose: c.Bool("action-verbose"),
Image: c.String("action-image"),
NoForcePull: c.Bool("no-force-pull"),
EventPayload: c.String("event-payload"),
Actor: c.String("actor"),
},
Daemon: daemon.Daemon{
Registry: c.String("docker.registry"),
Mirror: c.String("daemon.mirror"),
StorageDriver: c.String("daemon.storage-driver"),
StoragePath: c.String("daemon.storage-path"),
Insecure: c.Bool("daemon.insecure"),
Disabled: c.Bool("daemon.off"),
IPv6: c.Bool("daemon.ipv6"),
Debug: c.Bool("daemon.debug"),
Bip: c.String("daemon.bip"),
DNS: c.StringSlice("daemon.dns"),
DNSSearch: c.StringSlice("daemon.dns-search"),
MTU: c.String("daemon.mtu"),
Experimental: c.Bool("daemon.experimental"),
Registry: c.String("docker.registry"),
Mirror: c.String("daemon.mirror"),
StorageDriver: c.String("daemon.storage-driver"),
StoragePath: c.String("daemon.storage-path"),
Insecure: c.Bool("daemon.insecure"),
Disabled: c.Bool("daemon.off"),
IPv6: c.Bool("daemon.ipv6"),
Debug: c.Bool("daemon.debug"),
Bip: c.String("daemon.bip"),
DNS: c.StringSlice("daemon.dns"),
DNSSearch: c.StringSlice("daemon.dns-search"),
MTU: c.String("daemon.mtu"),
Experimental: c.Bool("daemon.experimental"),
NotHiddenSocket: c.Bool("not.hidden.socket"),
},
}