Skip to content

Commit 56da0f1

Browse files
committed
ci: correctly download and merge manifests
1 parent 3a30e10 commit 56da0f1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/main.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ jobs:
205205
- name: Upload digest
206206
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
207207
with:
208-
name: "digests-${{ matrix.platform[0] }}-${{ matrix.otp }}-${{ matrix.elixir }}"
208+
name: "digests-${{ matrix.platform[0] }}-${{ matrix.otp }}-${{ matrix.elixir }}-${{ matrix.platform[1] == 'linux/amd64' && 'amd64' || 'arm64' }}"
209209
path: /tmp/digests/*
210210
if-no-files-found: error
211211
retention-days: 1
@@ -248,8 +248,9 @@ jobs:
248248
- name: Download digests
249249
uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7
250250
with:
251-
name: "digests-${{ matrix.platform }}-${{ matrix.otp }}-${{ matrix.elixir }}"
251+
pattern: "digests-${{ matrix.platform }}-${{ matrix.otp }}-${{ matrix.elixir }}-*"
252252
path: /tmp/digests
253+
merge-multiple: true
253254
- name: Set up Docker Buildx
254255
uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb # v3.3.0
255256
- name: Docker meta

0 commit comments

Comments
 (0)