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:
parent
aa92ac1ef0
commit
ca44fcf4a1
@ -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"),
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user