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: with:
context: . context: .
push: true push: true
provenance: mode=max # provenance: mode=max
labels: ${{ steps.meta.outputs.labels }} labels: ${{ steps.meta.outputs.labels }}
tags: | tags: |
ghcr.io/${{ github.repository }}:latest ghcr.io/${{ github.repository }}:latest
ghcr.io/${{ github.repository }}:${{ inputs.release }} ghcr.io/${{ github.repository }}:${{ inputs.release }}
# - name: Generate artifact attestation - name: Generate artifact attestation
# uses: actions/attest-build-provenance@v1 uses: actions/attest-build-provenance@v1
# with: with:
# subject-name: ghcr.io/${{ github.repository }}:${{ inputs.release }} subject-name: ghcr.io/${{ github.repository }}
# subject-digest: ${{ steps.push.outputs.digest }} subject-digest: ${{ steps.push.outputs.digest }}
# push-to-registry: true push-to-registry: true