Update build script
All checks were successful
Create and publish container / build_container (push) Successful in 12s

This commit is contained in:
2025-12-23 08:14:58 +01:00
parent 58bee06709
commit 9668af79f4

View File

@@ -14,6 +14,6 @@ docker push "$1"
if [ -n "$OLD_IMG" ]; then if [ -n "$OLD_IMG" ]; then
if [ "$OLD_IMG" != "$(docker image ls -q "$1")" ]; then if [ "$OLD_IMG" != "$(docker image ls -q "$1")" ]; then
echo "New build uploaded, removing old image, id: $OLD_IMG" echo "New build uploaded, removing old image, id: $OLD_IMG"
docker image rm "$OLD_IMG" || true docker image rmi -f "$OLD_IMG" || true
fi fi
fi fi