Fix attestation

This commit is contained in:
Luke Tainton 2024-07-13 11:48:27 +01:00
parent 6985f4dbe8
commit 50d8f81c63
No known key found for this signature in database

View File

@ -47,15 +47,15 @@ jobs:
with:
context: .
push: true
provenance: mode=max
# provenance: mode=max
labels: ${{ steps.meta.outputs.labels }}
tags: |
ghcr.io/${{ github.repository }}:latest
ghcr.io/${{ github.repository }}:${{ inputs.release }}
# - name: Generate artifact attestation
# uses: actions/attest-build-provenance@v1
# with:
# subject-name: ghcr.io/${{ github.repository }}:${{ inputs.release }}
# subject-digest: ${{ steps.push.outputs.digest }}
# push-to-registry: true
- name: Generate artifact attestation
uses: actions/attest-build-provenance@v1
with:
subject-name: ghcr.io/${{ github.repository }}
subject-digest: ${{ steps.push.outputs.digest }}
push-to-registry: true