Skip to content

Commit 182f22f

Browse files
committed
removed cleanup
1 parent b470753 commit 182f22f

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

docker.go

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1055,21 +1055,5 @@ func (p Plugin) pushOnly() error {
10551055
}
10561056
}
10571057

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-
10741058
return nil
10751059
}

0 commit comments

Comments
 (0)