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: with:
context: . context: .
push: true push: true
provenance: mode=max
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 }}
labels: ${{ steps.meta.outputs.labels }}
- 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 }}:${{ inputs.release }}
subject-digest: ${{ steps.push.outputs.digest }} # subject-digest: ${{ steps.push.outputs.digest }}
push-to-registry: true # push-to-registry: true