Change env precedence
This commit is contained in:
parent
7d41e1efe4
commit
ddc25946e9
8
main.go
8
main.go
@ -137,22 +137,22 @@ func main() {
|
|||||||
Name: "docker.registry",
|
Name: "docker.registry",
|
||||||
Usage: "docker registry",
|
Usage: "docker registry",
|
||||||
Value: defaultRegistry,
|
Value: defaultRegistry,
|
||||||
EnvVar: "DOCKER_REGISTRY,PLUGIN_REGISTRY",
|
EnvVar: "PLUGIN_REGISTRY,DOCKER_REGISTRY",
|
||||||
},
|
},
|
||||||
cli.StringFlag{
|
cli.StringFlag{
|
||||||
Name: "docker.username",
|
Name: "docker.username",
|
||||||
Usage: "docker username",
|
Usage: "docker username",
|
||||||
EnvVar: "DOCKER_USERNAME,PLUGIN_USERNAME",
|
EnvVar: "PLUGIN_USERNAME,DOCKER_USERNAME",
|
||||||
},
|
},
|
||||||
cli.StringFlag{
|
cli.StringFlag{
|
||||||
Name: "docker.password",
|
Name: "docker.password",
|
||||||
Usage: "docker password",
|
Usage: "docker password",
|
||||||
EnvVar: "DOCKER_PASSWORD,PLUGIN_PASSWORD",
|
EnvVar: "PLUGIN_PASSWORD,DOCKER_PASSWORD",
|
||||||
},
|
},
|
||||||
cli.StringFlag{
|
cli.StringFlag{
|
||||||
Name: "docker.email",
|
Name: "docker.email",
|
||||||
Usage: "docker email",
|
Usage: "docker email",
|
||||||
EnvVar: "DOCKER_EMAIL,PLUGIN_EMAIL",
|
EnvVar: "PLUGIN_EMAIL,DOCKER_EMAIL",
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user