Skip to content

Commit

Permalink
Update build-docker-images.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
alex authored Oct 13, 2024
1 parent ba5c524 commit f2bda87
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/build-docker-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'

0 comments on commit f2bda87

Please sign in to comment.