This commit is contained in:
@@ -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))"
|
||||||
|
|||||||
+1
-1
Submodule instructions updated: 1a85fbbea6...9e16b68277
Reference in New Issue
Block a user