From aa772d559c5246ea67728fc4e15866c529cf92cc Mon Sep 17 00:00:00 2001 From: "Justin (shocknet)" Date: Mon, 20 May 2024 12:17:33 -0400 Subject: [PATCH] log --- .github/workflows/push.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 13357a82..1c030e31 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -48,14 +48,18 @@ jobs: id: capture-digest run: | DIGEST=$(docker inspect --format='{{index .RepoDigests 0}}' ghcr.io/${{ github.repository_owner }}/lightning-pub:latest | cut -d'@' -f2) + echo "Raw Digest is $DIGEST" echo "::set-output name=digest::${DIGEST}" - name: Debug Print Digest run: echo "Digest is ${{ steps.capture-digest.outputs.digest }}" + - name: Debug Print Formatted Digest + run: echo "Formatted Digest is sha256:${{ steps.capture-digest.outputs.digest }}" + - name: Attest build provenance uses: actions/attest-build-provenance@v1 with: subject-digest: sha256:${{ steps.capture-digest.outputs.digest }} subject-name: ghcr.io/${{ github.repository_owner }}/lightning-pub:latest - github-token: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + github-token: ${{ secrets.GITHUB_TOKEN }}