Merge branch 'main' into dependabot/github_actions/docker/login-action-0d4c9c5ea7693da7b068278f7b52bda2a190a446

This commit is contained in:
Luke Tainton 2024-07-13 11:54:37 +01:00 committed by GitHub
commit df5eee7178
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -22,6 +22,9 @@ jobs:
with: with:
ref: ${{ inputs.release }} ref: ${{ inputs.release }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Log in to GitHub Container Registry - name: Log in to GitHub Container Registry
uses: docker/login-action@0d4c9c5ea7693da7b068278f7b52bda2a190a446 uses: docker/login-action@0d4c9c5ea7693da7b068278f7b52bda2a190a446
with: with:
@ -44,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