mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-23 08:56:29 +00:00
changed drone build
flags from string to bool
This commit is contained in:
parent
afc3030087
commit
617303b155
1 changed files with 3 additions and 6 deletions
|
@ -29,19 +29,16 @@ func NewBuildCommand() cli.Command {
|
||||||
Value: "",
|
Value: "",
|
||||||
Usage: "identify file injected in the container",
|
Usage: "identify file injected in the container",
|
||||||
},
|
},
|
||||||
cli.StringFlag{
|
cli.BoolFlag{
|
||||||
Name: "p",
|
Name: "p",
|
||||||
Value: "false",
|
|
||||||
Usage: "runs drone build in a privileged container",
|
Usage: "runs drone build in a privileged container",
|
||||||
},
|
},
|
||||||
cli.StringFlag{
|
cli.BoolFlag{
|
||||||
Name: "deploy",
|
Name: "deploy",
|
||||||
Value: "false",
|
|
||||||
Usage: "runs drone build with deployments enabled",
|
Usage: "runs drone build with deployments enabled",
|
||||||
},
|
},
|
||||||
cli.StringFlag{
|
cli.BoolFlag{
|
||||||
Name: "publish",
|
Name: "publish",
|
||||||
Value: "false",
|
|
||||||
Usage: "runs drone build with publishing enabled",
|
Usage: "runs drone build with publishing enabled",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue