fixup! fixup! fixup! fixup! fixup! fixup! Ensure that jobs run with the controller service account if no service account is specified.

This commit is contained in:
2024-12-20 11:21:12 +00:00
parent d29b748c92
commit 57e7576fe8
+2
View File
@@ -3,6 +3,8 @@ set -e
PODMAN_AUTH_FILE="/home/runner/.config/containers/auth.json"
# Sleep for a 1-5 seconds to avoid ddosing the registry with auth requests
sleep $((1 + RANDOM % 5))
# Initialize the auth file if it doesn't exist or is empty
mkdir -p $(dirname $PODMAN_AUTH_FILE)
if [ ! -s "$PODMAN_AUTH_FILE" ]; then