From 6534bcfe08504d1e537581c83c74372405fec8e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christopher=20M=C3=BChl?= Date: Wed, 4 Mar 2026 14:22:20 +0100 Subject: [PATCH] fix: make Attic push non-fatal in docker-build-nix --- docker-build-nix/action.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docker-build-nix/action.yaml b/docker-build-nix/action.yaml index d9cf3ef..a2a91d0 100644 --- a/docker-build-nix/action.yaml +++ b/docker-build-nix/action.yaml @@ -64,6 +64,7 @@ runs: - name: Push build artifacts to Attic cache shell: bash if: env.ATTIC_TOKEN != '' + continue-on-error: true env: ATTIC_TOKEN: ${{ env.ATTIC_TOKEN }} run: | @@ -75,8 +76,8 @@ runs: token = "${ATTIC_TOKEN}" EOF - # Push entire closure to cache - attic push "${{ inputs.cache-name }}" ./result + # Push entire closure to cache (don't fail if this fails) + attic push "${{ inputs.cache-name }}" ./result || echo "Warning: Failed to push to Attic cache, continuing anyway" - name: Load image into Docker shell: bash