Skip to content

Commit

Permalink
arg fix for custom labels
Browse files Browse the repository at this point in the history
  • Loading branch information
The-Loeki committed Jun 6, 2018
1 parent aa92ac1 commit ca44fcf
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cmd/drone-docker/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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"),
},
Expand Down

0 comments on commit ca44fcf

Please sign in to comment.