Skip to content

Commit

Permalink
Avoid name colision when uploading artifact
Browse files Browse the repository at this point in the history
We're seeing the following error when building multi-platform images
during upload artifact step:

"""
Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
"""

This should be fixed by using the correct platform pair var names.
  • Loading branch information
niconosenzo committed Oct 17, 2024
1 parent 0654298 commit e352996
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ jobs:
- name: Upload digest
uses: actions/upload-artifact@v4
with:
name: digests-${{ env.PLATFORM_PAIR }}
name: digests-${{ env.PLATFORM_DASH_PAIR }}
path: /tmp/digests/*
if-no-files-found: error
retention-days: 1
Expand Down

0 comments on commit e352996

Please sign in to comment.