Skip to content

Commit ba6a505

Browse files
fix
1 parent 2e2f377 commit ba6a505

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/build-intermediary-image.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,16 @@ jobs:
7070
digest="${{ steps.build.outputs.digest }}"
7171
touch "/tmp/digests/${digest#sha256:}"
7272
73+
- name: Set digest file name
74+
id: digest_vars
75+
run: |
76+
PLATFORM_SAFE=$(echo "${{ matrix.platform }}" | tr '/' '-')
77+
echo "PLATFORM_SAFE=$PLATFORM_SAFE" >> $GITHUB_OUTPUT
78+
7379
- name: Upload digest
7480
uses: actions/upload-artifact@v4
7581
with:
76-
name: digests-${{ matrix.platform // '/' '-'}}
82+
name: digests-${{ steps.digest_vars.outputs.PLATFORM_SAFE }}
7783
path: /tmp/digests/*
7884
if-no-files-found: error
7985
retention-days: 1

0 commit comments

Comments
 (0)