Fix auto Docker tag creation

This commit is contained in:
Luke Tainton 2024-07-13 11:36:49 +01:00
parent 6e4d78cfcd
commit a314379091
No known key found for this signature in database

View File

@ -44,14 +44,15 @@ jobs:
with:
context: .
push: true
provenance: mode=max
labels: ${{ steps.meta.outputs.labels }}
tags: |
ghcr.io/${{ github.repository }}:latest
ghcr.io/${{ github.repository }}:${{ inputs.release }}
labels: ${{ steps.meta.outputs.labels }}
- 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 }}:${{ inputs.release }}
# subject-digest: ${{ steps.push.outputs.digest }}
# push-to-registry: true