Align CI cleanup with instructions
Build and deploy Flutter Web / build (push) Successful in 4m2s

This commit is contained in:
Ruslan Bakiev
2026-06-12 14:13:52 +07:00
parent 7e3d03d225
commit be41f74b33
2 changed files with 5 additions and 1 deletions
+4
View File
@@ -35,6 +35,10 @@ jobs:
--build-arg MAPBOX_STYLE="mapbox/streets-v12" \ --build-arg MAPBOX_STYLE="mapbox/streets-v12" \
--build-arg TELEGRAM_BOT_USERNAME="carfteebot" \ --build-arg TELEGRAM_BOT_USERNAME="carfteebot" \
.; then .; then
published_images="$(docker image ls --format '{{.Repository}}:{{.Tag}}' | awk -v sha="$IMAGE_SHA" -v latest="$IMAGE_LATEST" '$0 == sha || $0 == latest')"
if [ -n "$published_images" ]; then
docker image rm -f $published_images
fi
exit 0 exit 0
fi fi
sleep "$((attempt * 10))" sleep "$((attempt * 10))"