Fix label usage

This commit is contained in:
Shubham Agrawal 2021-01-18 21:12:53 +05:30
parent 10df8f28b9
commit 33f15bdebe

@ -46,7 +46,7 @@ func (p Plugin) Exec() error {
} }
// Set the labels // Set the labels
for _, label := range p.Build.Labels { for _, label := range p.Build.Labels {
cmdArgs = append(cmdArgs, fmt.Sprintf("--label %s", label)) cmdArgs = append(cmdArgs, fmt.Sprintf("--label=%s", label))
} }
if p.Build.Target != "" { if p.Build.Target != "" {