diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 40d56612..3ce0fa61 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -41,7 +41,7 @@ jobs: context: . file: ./Dockerfile 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 }} - name: Capture image digest @@ -49,10 +49,10 @@ jobs: run: | 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 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 + subject-digest: ${{ steps.capture-digest.outputs.digest }} + subject-name: ghcr.io/${{ github.repository_owner }}/lightning-pub:latest + github-token: ${{ secrets.GITHUB_TOKEN }}