No need for all the useless docker image rm

This commit is contained in:
Robert Schmidt
2025-08-07 15:39:59 +02:00
parent 810dad97ae
commit 65ec00c5fd
+1 -1
View File
@@ -377,7 +377,7 @@ class Containerize():
# Let's remove any previous run artifacts if still there
cmd.run(f"{self.cli} image prune --force")
for image,pattern,name,option in imageNames:
cmd.run(f"{self.cli} image rm {name}:{imageTag}")
cmd.run(f"{self.cli} image rm {name}:{imageTag}", reportNonZero=False)
# Build the base image only on Push Events (not on Merge Requests)
# On when the base image docker file is being modified.