mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-10-21 21:03:22 +00:00
changed drone build
flags from string to bool
This commit is contained in:
@@ -29,19 +29,16 @@ func NewBuildCommand() cli.Command {
|
||||
Value: "",
|
||||
Usage: "identify file injected in the container",
|
||||
},
|
||||
cli.StringFlag{
|
||||
cli.BoolFlag{
|
||||
Name: "p",
|
||||
Value: "false",
|
||||
Usage: "runs drone build in a privileged container",
|
||||
},
|
||||
cli.StringFlag{
|
||||
cli.BoolFlag{
|
||||
Name: "deploy",
|
||||
Value: "false",
|
||||
Usage: "runs drone build with deployments enabled",
|
||||
},
|
||||
cli.StringFlag{
|
||||
cli.BoolFlag{
|
||||
Name: "publish",
|
||||
Value: "false",
|
||||
Usage: "runs drone build with publishing enabled",
|
||||
},
|
||||
},
|
||||
|
Reference in New Issue
Block a user