Skip to content

Commit 4d82a32

Browse files
committed
chore(ci): Fix container digest uploads.
Signed-off-by: spbsoluble <1661003+spbsoluble@users.noreply.github.com>
1 parent d6f23fb commit 4d82a32

1 file changed

Lines changed: 9 additions & 3 deletions

File tree

.github/workflows/container.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ jobs:
1919
platform:
2020
- linux/386
2121
- linux/amd64
22-
- linux/arm/v6
2322
- linux/arm/v7
2423
- linux/arm64/v8
2524
- linux/ppc64le
@@ -91,11 +90,17 @@ jobs:
9190
digest="${{ steps.build.outputs.digest }}"
9291
touch "/tmp/digests/${digest#sha256:}"
9392
93+
- name: Set artifact name
94+
run: |
95+
echo "ARTIFACT_NAME=digests-${MATRIX_PLATFORM//\//-}" >>${GITHUB_ENV}
96+
env:
97+
MATRIX_PLATFORM: ${{ matrix.platform }}
98+
9499
# Upload digest
95100
- name: Upload digest
96101
uses: actions/upload-artifact@v5
97102
with:
98-
name: digests
103+
name: ${{ env.ARTIFACT_NAME }}
99104
path: /tmp/digests/*
100105
if-no-files-found: error
101106
retention-days: 1
@@ -115,8 +120,9 @@ jobs:
115120
- name: Download digests
116121
uses: actions/download-artifact@v6
117122
with:
118-
name: digests
119123
path: /tmp/digests
124+
pattern: digests-*
125+
merge-multiple: true
120126

121127
# Set up BuildKit Docker container builder to be able to build
122128
# multi-platform images and export cache

0 commit comments

Comments
 (0)