mirror of
https://github.com/thegeeklab/wp-docker-buildx.git
synced 2024-11-24 23:00:39 +00:00
add DRONE_ environment variable
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
parent
d8ba908538
commit
0fb22dbadc
@ -201,7 +201,7 @@ func main() {
|
|||||||
cli.StringFlag{
|
cli.StringFlag{
|
||||||
Name: "default.branch",
|
Name: "default.branch",
|
||||||
Usage: "defualt latest branch",
|
Usage: "defualt latest branch",
|
||||||
EnvVar: "PLUGIN_DEFALUT_BRANCH",
|
EnvVar: "DRONE_REPO_BRANCH,PLUGIN_DEFALUT_BRANCH",
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user