We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b470753 commit 182f22fCopy full SHA for 182f22f
docker.go
@@ -1055,21 +1055,5 @@ func (p Plugin) pushOnly() error {
1055
}
1056
1057
1058
- var cmds []*exec.Cmd
1059
- // execute cleanup routines in batch mode
1060
- if p.Cleanup {
1061
- // clear the slice
1062
- cmds = nil
1063
-
1064
- cmds = append(cmds, commandRmi(p.Build.Name)) // docker rmi
1065
- cmds = append(cmds, commandPrune()) // docker system prune -f
1066
1067
- for _, cmd := range cmds {
1068
- cmd.Stdout = os.Stdout
1069
- cmd.Stderr = os.Stderr
1070
- trace(cmd)
1071
- }
1072
1073
1074
return nil
1075
0 commit comments