mirror of
https://github.com/CloudNebulaProject/barycenter.git
synced 2026-04-10 21:20:41 +00:00
fix: extract manifest digest correctly for attestation
This commit is contained in:
parent
6ef8f0b266
commit
80a56a137a
1 changed files with 1 additions and 1 deletions
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
|
|
@ -113,7 +113,7 @@ jobs:
|
|||
|
||||
# Get the digest of the first tag (version tag) for attestation
|
||||
FIRST_TAG=$(echo '${{ steps.meta.outputs.tags }}' | head -n1)
|
||||
DIGEST=$(docker buildx imagetools inspect ${FIRST_TAG} --format '{{.Manifest.Digest}}')
|
||||
DIGEST=$(docker buildx imagetools inspect ${FIRST_TAG} --raw | sha256sum | cut -d' ' -f1 | awk '{print "sha256:" $0}')
|
||||
echo "digest=${DIGEST}" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Generate artifact attestation
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue