Skip to content

Commit 955cbb6

Browse files
committed
da
1 parent f5cf7d0 commit 955cbb6

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -177,13 +177,11 @@ jobs:
177177
--arch-suffix \
178178
--gen-metadata \
179179
--push
180-
cat metadata_stripped.json
181-
cat metadata_debuggable.json
182180
183-
digest=$(jq -r '.[0].RepoDigests[0]' metadata_stripped.json)
181+
digest=$(jq -r '."containerimage.digest"' metadata_stripped.json)
184182
echo "stripped_digest=${digest}" >> "${GITHUB_OUTPUT}"
185183
186-
digest=$(jq -r '.[0].RepoDigests[0]' metadata_debuggable.json)
184+
digest=$(jq -r '."containerimage.digest"' metadata_debuggable.json)
187185
echo "debuggable_digest=${digest}" >> "${GITHUB_OUTPUT}"
188186
189187
- name: Generate provenance attestation for stripped image at ghcr.io

0 commit comments

Comments
 (0)