add else if

This commit is contained in:
fogelito committed 2026-06-30 14:38:59 +03:00
1 parent ea125e8eb2
commit f69653bd86
1 file changed
+12
+12
View File
@@ -371,6 +371,9 @@ jobs:
for attempt in 1 2 3; do
if docker compose pull --quiet --ignore-buildable; then
break
elif [ "$attempt" -eq 3 ]; then
echo "::error::docker compose pull failed after 3 attempts; aborting"
exit 1
fi
echo "::warning::docker compose pull failed (attempt ${attempt}/3); retrying in 15s"
sleep 15
@@ -470,6 +473,9 @@ jobs:
for attempt in 1 2 3; do
if docker compose pull --quiet --ignore-buildable; then
break
elif [ "$attempt" -eq 3 ]; then
echo "::error::docker compose pull failed after 3 attempts; aborting"
exit 1
fi
echo "::warning::docker compose pull failed (attempt ${attempt}/3); retrying in 15s"
sleep 15
@@ -562,6 +568,9 @@ jobs:
for attempt in 1 2 3; do
if docker compose pull --quiet --ignore-buildable; then
break
elif [ "$attempt" -eq 3 ]; then
echo "::error::docker compose pull failed after 3 attempts; aborting"
exit 1
fi
echo "::warning::docker compose pull failed (attempt ${attempt}/3); retrying in 15s"
sleep 15
@@ -629,6 +638,9 @@ jobs:
for attempt in 1 2 3; do
if docker compose pull --quiet --ignore-buildable; then
break
elif [ "$attempt" -eq 3 ]; then
echo "::error::docker compose pull failed after 3 attempts; aborting"
exit 1
fi
echo "::warning::docker compose pull failed (attempt ${attempt}/3); retrying in 15s"
sleep 15