This commit is contained in:
Justin (shocknet) 2024-05-20 11:32:12 -04:00
parent 2a78f4508c
commit 83075c7db4

View file

@ -47,8 +47,8 @@ jobs:
- name: Capture image digest
id: capture-digest
run: |
DIGEST=$(docker inspect --format='{{index .RepoDigests 0}}' ghcr.io/${{ github.repository_owner }}/lightning-pub:latest)
echo "::set-output name=digest::$DIGEST"
DIGEST=$(docker inspect --format='{{index .RepoDigests 0}}' ghcr.io/${{ github.repository_owner }}/lightning-pub:latest | cut -d'@' -f2)
echo "::set-output name=digest::sha256:${DIGEST}"
- name: Attest build provenance
uses: actions/attest-build-provenance@v1