forked from Ivasoft/github-actions
Fixed no_force_pull
This commit is contained in:
@@ -76,6 +76,11 @@ func main() {
|
|||||||
Value: "node:16-buster-slim",
|
Value: "node:16-buster-slim",
|
||||||
EnvVar: "PLUGIN_ACTION_IMAGE",
|
EnvVar: "PLUGIN_ACTION_IMAGE",
|
||||||
},
|
},
|
||||||
|
cli.BoolFlag{
|
||||||
|
Name: "no-force-pull",
|
||||||
|
Usage: "disable forced pulling in act",
|
||||||
|
EnvVar: "PLUGIN_NO_FORCE_PULL",
|
||||||
|
},
|
||||||
cli.StringFlag{
|
cli.StringFlag{
|
||||||
Name: "event-payload",
|
Name: "event-payload",
|
||||||
Usage: "Webhook event payload",
|
Usage: "Webhook event payload",
|
||||||
@@ -188,6 +193,7 @@ func run(c *cli.Context) error {
|
|||||||
Env: actionEnv,
|
Env: actionEnv,
|
||||||
Verbose: c.Bool("action-verbose"),
|
Verbose: c.Bool("action-verbose"),
|
||||||
Image: c.String("action-image"),
|
Image: c.String("action-image"),
|
||||||
|
NoForcePull: c.Bool("no-force-pull"),
|
||||||
EventPayload: c.String("event-payload"),
|
EventPayload: c.String("event-payload"),
|
||||||
Actor: c.String("actor"),
|
Actor: c.String("actor"),
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user