log
This commit is contained in:
parent
c721362370
commit
aa772d559c
1 changed files with 5 additions and 1 deletions
6
.github/workflows/push.yml
vendored
6
.github/workflows/push.yml
vendored
|
|
@ -48,14 +48,18 @@ jobs:
|
||||||
id: capture-digest
|
id: capture-digest
|
||||||
run: |
|
run: |
|
||||||
DIGEST=$(docker inspect --format='{{index .RepoDigests 0}}' ghcr.io/${{ github.repository_owner }}/lightning-pub:latest | cut -d'@' -f2)
|
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}"
|
echo "::set-output name=digest::${DIGEST}"
|
||||||
|
|
||||||
- name: Debug Print Digest
|
- name: Debug Print Digest
|
||||||
run: echo "Digest is ${{ steps.capture-digest.outputs.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
|
- name: Attest build provenance
|
||||||
uses: actions/attest-build-provenance@v1
|
uses: actions/attest-build-provenance@v1
|
||||||
with:
|
with:
|
||||||
subject-digest: sha256:${{ steps.capture-digest.outputs.digest }}
|
subject-digest: sha256:${{ steps.capture-digest.outputs.digest }}
|
||||||
subject-name: ghcr.io/${{ github.repository_owner }}/lightning-pub:latest
|
subject-name: ghcr.io/${{ github.repository_owner }}/lightning-pub:latest
|
||||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue