File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments