Skip to content

Commit 645c2a1

Browse files
committed
ci: make build-devcontainer digest artifact unique and enable compression
- rename step to "Upload digests" - use job + run_id for artifact name to avoid collisions across matrix builds - add compression-level: 6 for uploaded artifacts Signed-off-by: Aaron Wislang <[email protected]>
1 parent 22fccca commit 645c2a1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/build-devcontainer.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,13 +104,14 @@ jobs:
104104
digest="${{ steps.build.outputs.digest }}"
105105
touch "/tmp/digests/${digest#sha256:}"
106106
107-
- name: Upload digest
107+
- name: Upload digests
108108
uses: actions/upload-artifact@v4
109109
with:
110-
name: digests-${{ hashFiles(format('matrix.platform={0}', matrix.platform)) }}
110+
name: digests-${{ github.job }}-${{ github.run_id }}
111111
path: /tmp/digests/*
112112
if-no-files-found: error
113113
retention-days: 1
114+
compression-level: 6
114115

115116
merge:
116117
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)