FIX Plugins must be removed after each "tagging"
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2023-02-17 01:18:56 +01:00
parent 2352c4171f
commit c1ca3abaec

View File

@@ -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.