diff --git a/.github/workflows/docker_publish.yml b/.github/workflows/docker_publish.yml index c717893..472e1af 100644 --- a/.github/workflows/docker_publish.yml +++ b/.github/workflows/docker_publish.yml @@ -22,6 +22,9 @@ jobs: with: ref: ${{ inputs.release }} + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 + - name: Log in to GitHub Container Registry uses: docker/login-action@0d4c9c5ea7693da7b068278f7b52bda2a190a446 with: @@ -44,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