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