mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-23 00:46:30 +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: "",
|
||||
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",
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue