Skip to content

Commit 7c2844a

Browse files
committed
no attest
1 parent 7c7eae4 commit 7c2844a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/build-image.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@ jobs:
4949

5050
- name: Generate artifact attestation
5151
uses: actions/attest-build-provenance@v2
52+
if: ${{ github.event_name == 'push' }}
5253
with:
53-
push-to-registry: ${{ github.event_name == 'push' }}
54+
push-to-registry: true
5455
subject-name: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
5556
subject-digest: ${{ steps.docker_build.outputs.digest }}

0 commit comments

Comments
 (0)