Skip to content

Commit 50356ab

Browse files
committed
push different docker image digest names that are architecture-specific.
1 parent 3e9f30b commit 50356ab

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

.github/workflows/build.yaml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ jobs:
165165
if: ${{ github.event_name == 'push' }}
166166
uses: actions/upload-artifact@v4
167167
with:
168-
name: digests
168+
name: digests-${{ matrix.arch == 'x86_64' && 'amd64' || 'arm64' }}
169169
path: /tmp/digests/*
170170
if-no-files-found: error
171171
retention-days: 1
@@ -174,10 +174,16 @@ jobs:
174174
needs: [ docker ]
175175
runs-on: ubuntu-latest
176176
steps:
177-
- name: Download digests
177+
- name: Download digests (amd)
178178
uses: actions/download-artifact@v4
179179
with:
180-
name: digests
180+
name: digests-amd64
181+
path: /tmp/digests
182+
183+
- name: Download digests (arm)
184+
uses: actions/download-artifact@v4
185+
with:
186+
name: digests-arm64
181187
path: /tmp/digests
182188

183189
- name: Set up Docker Buildx

0 commit comments

Comments
 (0)