fixes
Build and Push Lunchtime Images (Kaniko) / build-and-push (push) Failing after 4s

This commit is contained in:
Simon Gruber
2026-03-29 14:45:13 +02:00
parent 86c9d69ac3
commit fe97f34370
+6 -4
View File
@@ -52,8 +52,9 @@ jobs:
with:
entrypoint: /busybox/sh
args: >-
-c "mkdir -p /kaniko/.docker &&
echo \"{\\\"auths\\\":{\\\"$REGISTRY\\\":{\\\"auth\\\":\\\"$(echo -n $CANIKO_AUTH | base64 | tr -d '\n')\\\"}}}\" > /kaniko/.docker/config.json &&
-c "AUTH=$(echo -n $CANIKO_AUTH | base64 | tr -d '\n') &&
mkdir -p /kaniko/.docker &&
printf '{\"auths\":{\"%s\":{\"auth\":\"%s\"}}}' \"$REGISTRY\" \"$AUTH\" > /kaniko/.docker/config.json &&
/kaniko/executor --context=/github/workspace --dockerfile=src/frontend/Containerfile ${{ steps.tags.outputs.frontend_dests }}"
- name: Build and Push Backend
@@ -63,6 +64,7 @@ jobs:
with:
entrypoint: /busybox/sh
args: >-
-c "mkdir -p /kaniko/.docker &&
echo \"{\\\"auths\\\":{\\\"$REGISTRY\\\":{\\\"auth\\\":\\\"$(echo -n $CANIKO_AUTH | base64 | tr -d '\n')\\\"}}}\" > /kaniko/.docker/config.json &&
-c "AUTH=$(echo -n $CANIKO_AUTH | base64 | tr -d '\n') &&
mkdir -p /kaniko/.docker &&
printf '{\"auths\":{\"%s\":{\"auth\":\"%s\"}}}' \"$REGISTRY\" \"$AUTH\" > /kaniko/.docker/config.json &&
/kaniko/executor --context=/github/workspace --dockerfile=src/backend/Containerfile ${{ steps.tags.outputs.backend_dests }}"