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