fix: make Attic push non-fatal in docker-build-nix
This commit is contained in:
parent
e702f56d87
commit
6534bcfe08
1 changed files with 3 additions and 2 deletions
|
|
@ -64,6 +64,7 @@ runs:
|
||||||
- name: Push build artifacts to Attic cache
|
- name: Push build artifacts to Attic cache
|
||||||
shell: bash
|
shell: bash
|
||||||
if: env.ATTIC_TOKEN != ''
|
if: env.ATTIC_TOKEN != ''
|
||||||
|
continue-on-error: true
|
||||||
env:
|
env:
|
||||||
ATTIC_TOKEN: ${{ env.ATTIC_TOKEN }}
|
ATTIC_TOKEN: ${{ env.ATTIC_TOKEN }}
|
||||||
run: |
|
run: |
|
||||||
|
|
@ -75,8 +76,8 @@ runs:
|
||||||
token = "${ATTIC_TOKEN}"
|
token = "${ATTIC_TOKEN}"
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
# Push entire closure to cache
|
# Push entire closure to cache (don't fail if this fails)
|
||||||
attic push "${{ inputs.cache-name }}" ./result
|
attic push "${{ inputs.cache-name }}" ./result || echo "Warning: Failed to push to Attic cache, continuing anyway"
|
||||||
|
|
||||||
- name: Load image into Docker
|
- name: Load image into Docker
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue