forked from Ivasoft/drone-docker
FIX Plugins must be removed after each "tagging"
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -214,6 +214,10 @@ func (p Plugin) Exec() error {
|
||||
if !p.Dryrun {
|
||||
cmds = append(cmds, commandPush(p.Build, tag)) // docker push
|
||||
}
|
||||
|
||||
if p.Build.IsPlugin {
|
||||
cmds = append(cmds, exec.Command(dockerExe, "plugin", "rm", p.Build.Repo+":"+tag))
|
||||
}
|
||||
}
|
||||
|
||||
// execute all commands in batch mode.
|
||||
|
||||
Reference in New Issue
Block a user