Fix label usage
This commit is contained in:
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 != "" {
|
||||||
|
Loading…
Reference in New Issue
Block a user