From 5571e4ca1137a4536d5cb7f9819ef3d28ff6f0b0 Mon Sep 17 00:00:00 2001 From: humocs-man <1+humocs-man@noreply.localhost> Date: Sat, 5 Sep 2026 17:50:30 +0000 Subject: [PATCH] .gitea/workflows/build.yml aktualisiert --- .gitea/workflows/build.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 469a82e..8c4748c 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -45,6 +45,13 @@ jobs: - name: Checkout uses: actions/checkout@v7.0.1 + # Generiert die auth.json dynamisch im configs/ Ordner aus Template & Secret + - name: Prepare Registry Auth File + env: + AUTH_BASE64: ${{ secrets.READONLY_AUTH_BASE64 }} + run: | + sed "s|READONLY_TOKEN_PLACEHOLDER|${AUTH_BASE64}|g" configs/auth.json.template > configs/auth.json + - name: Set up Docker Buildx uses: docker/setup-buildx-action@v4.3.0 @@ -126,5 +133,7 @@ jobs: - name: Post-Build Cleanup if: always() run: | + echo "Lösche erzeugte Auth-Datei..." + rm -f configs/auth.json echo "Leere Buildx-internen Cache..." docker buildx prune -a -f || true \ No newline at end of file