0
0
mirror of https://github.com/thegeeklab/wp-docker-buildx.git synced 2024-11-10 03:30:40 +00:00

add DRONE_ environment variable

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
Bo-Yi Wu 2017-11-03 09:33:37 +08:00
parent d8ba908538
commit 0fb22dbadc

View File

@ -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",
}, },
} }