0
0
mirror of https://github.com/thegeeklab/wp-docker-buildx.git synced 2024-11-22 20:20: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", EnvVar: "PLUGIN_REPO",
}, },
cli.StringSliceFlag{ cli.StringSliceFlag{
Name: "Labels", Name: "custom-labels",
Usage: "labels", Usage: "additional k=v labels",
EnvVar: "PLUGIN_LABELS", EnvVar: "PLUGIN_CUSTOM_LABELS",
}, },
cli.StringSliceFlag{ cli.StringSliceFlag{
Name: "label-schema", Name: "label-schema",
@ -247,7 +247,7 @@ func run(c *cli.Context) error {
Pull: c.BoolT("pull-image"), Pull: c.BoolT("pull-image"),
Compress: c.Bool("compress"), Compress: c.Bool("compress"),
Repo: c.String("repo"), Repo: c.String("repo"),
Labels: c.StringSlice("labels"), Labels: c.StringSlice("custom-labels"),
LabelSchema: c.StringSlice("label-schema"), LabelSchema: c.StringSlice("label-schema"),
NoCache: c.Bool("no-cache"), NoCache: c.Bool("no-cache"),
}, },