pain
This commit is contained in:
parent
3c3ece9c47
commit
4ac767f76c
1 changed files with 5 additions and 5 deletions
10
.github/workflows/push.yml
vendored
10
.github/workflows/push.yml
vendored
|
|
@ -41,7 +41,7 @@ jobs:
|
||||||
context: .
|
context: .
|
||||||
file: ./Dockerfile
|
file: ./Dockerfile
|
||||||
push: true
|
push: true
|
||||||
tags: ghcr.io/${{ github.repository_owner }}/lightning-pub:latest # Update the image tag
|
tags: ghcr.io/${{ github.repository_owner }}/lightning-pub:latest
|
||||||
labels: ${{ steps.meta.outputs.labels }}
|
labels: ${{ steps.meta.outputs.labels }}
|
||||||
|
|
||||||
- name: Capture image digest
|
- name: Capture image digest
|
||||||
|
|
@ -49,10 +49,10 @@ jobs:
|
||||||
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 "::set-output name=digest::sha256:${DIGEST}"
|
echo "::set-output name=digest::sha256:${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: ${{ 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