From f2bda878134e5ffee7a493a0bf1486e941778350 Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Sat, 12 Oct 2024 23:04:34 -0400 Subject: [PATCH] Update build-docker-images.yml --- .github/workflows/build-docker-images.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build-docker-images.yml b/.github/workflows/build-docker-images.yml index b0c3b543..4f7b62de 100644 --- a/.github/workflows/build-docker-images.yml +++ b/.github/workflows/build-docker-images.yml @@ -92,10 +92,10 @@ jobs: - name: Push image run: docker push ghcr.io/pyca/${{ matrix.IMAGE.TAG_NAME }} if: (github.event_name == 'push' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') && github.ref == 'refs/heads/main' - # - name: Generate attestation - # uses: actions/attest-build-provenance@897ed5eab6ed058a474202017ada7f40bfa52940 # v1.0.0 - # with: - # subject-name: "ghcr.io/pyca/${{ matrix.IMAGE.TAG_NAME }}" - # subject-digest: ${{ steps.image-digest.outputs.digest }} - # push-to-registry: true - # if: (github.event_name == 'push' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') && github.ref == 'refs/heads/main' + - name: Generate attestation + uses: actions/attest-build-provenance@897ed5eab6ed058a474202017ada7f40bfa52940 # v1.0.0 + with: + subject-name: "ghcr.io/pyca/${{ matrix.IMAGE.TAG_NAME }}" + subject-digest: ${{ steps.image-digest.outputs.digest }} + push-to-registry: true + if: (github.event_name == 'push' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') && github.ref == 'refs/heads/main'