workflows/docker: reduce delay to 15 seconds
Signed-off-by: Patrick Linnane <patrick@linnane.io>
This commit is contained in:
parent
7ad5460336
commit
ead6c13cf2
2
.github/workflows/docker.yml
vendored
2
.github/workflows/docker.yml
vendored
@ -314,7 +314,7 @@ jobs:
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
delay=$((2 ** attempts))
|
delay=$((2 ** attempts))
|
||||||
if [[ $delay -gt 60 ]]; then delay=60; fi
|
if [[ $delay -gt 15 ]]; then delay=15; fi
|
||||||
echo "Push failed (attempt $attempts). Retrying in ${delay} seconds..."
|
echo "Push failed (attempt $attempts). Retrying in ${delay} seconds..."
|
||||||
sleep ${delay}
|
sleep ${delay}
|
||||||
done
|
done
|
||||||
|
Loading…
x
Reference in New Issue
Block a user