Skip to content

Commit

Permalink
fix image build using same artifact name
Browse files Browse the repository at this point in the history
Signed-off-by: Eguzki Astiz Lezaun <[email protected]>
  • Loading branch information
eguzki committed Nov 21, 2024
1 parent 282932e commit ad872b0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,11 @@ jobs:
- dockerfile: Dockerfile
platform: linux/amd64
scope: build-amd
artifactsuffix: amd
- dockerfile: Dockerfile.aarch64
platform: linux/arm64
scope: build-arm
artifactsuffix: arm
steps:
- name: Check out code
uses: actions/checkout@v4
Expand Down Expand Up @@ -68,7 +70,7 @@ jobs:
- name: Upload digest
uses: actions/upload-artifact@v4
with:
name: digests
name: digests-${{ matrix.artifactsuffix }}
path: /tmp/digests/*
if-no-files-found: error
retention-days: 1
Expand All @@ -80,7 +82,7 @@ jobs:
- name: Download digests
uses: actions/download-artifact@v4
with:
name: digests
pattern: digests-*
path: /tmp/digests
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
Expand Down

0 comments on commit ad872b0

Please sign in to comment.