0
0
mirror of https://github.com/thegeeklab/wp-docker-buildx.git synced 2024-11-26 05:30:39 +00:00

arg fix for custom labels

This commit is contained in:
Ronald van Zantvoort 2018-06-07 01:43:53 +02:00
parent aa92ac1ef0
commit ca44fcf4a1
No known key found for this signature in database
GPG Key ID: D3DE53B7EFF75061

View File

@ -172,9 +172,9 @@ func main() {
EnvVar: "PLUGIN_REPO",
},
cli.StringSliceFlag{
Name: "Labels",
Usage: "labels",
EnvVar: "PLUGIN_LABELS",
Name: "custom-labels",
Usage: "additional k=v labels",
EnvVar: "PLUGIN_CUSTOM_LABELS",
},
cli.StringSliceFlag{
Name: "label-schema",
@ -247,7 +247,7 @@ func run(c *cli.Context) error {
Pull: c.BoolT("pull-image"),
Compress: c.Bool("compress"),
Repo: c.String("repo"),
Labels: c.StringSlice("labels"),
Labels: c.StringSlice("custom-labels"),
LabelSchema: c.StringSlice("label-schema"),
NoCache: c.Bool("no-cache"),
},