Skip to content

Commit 594e2ac

Browse files
committed
change atestation
1 parent b4a67c9 commit 594e2ac

1 file changed

Lines changed: 9 additions & 8 deletions

File tree

.github/workflows/build.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -40,19 +40,20 @@ jobs:
4040
- name: Set up Docker Buildx
4141
uses: docker/setup-buildx-action@v3
4242

43-
- name: Build and push
43+
- name: Bake the images
4444
uses: docker/bake-action@v6
4545
with:
46-
push: false
46+
push: true
47+
provenence: true
4748

4849
# This step generates an artifact attestation for the image, which is an
4950
# unforgeable statement about where and how it was built. It increases
5051
# supply chain security for people who consume the image. For more information,
5152
# see [Using artifact attestations to establish provenance for
5253
# builds](/actions/security-guides/using-artifact-attestations-to-establish-provenance-for-builds).
53-
- name: Generate artifact attestation
54-
uses: actions/attest-build-provenance@v2
55-
with:
56-
subject-name: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME}}
57-
subject-digest: ${{ steps.push.outputs.digest }}
58-
push-to-registry: true
54+
#- name: Generate artifact attestation
55+
# uses: actions/attest-build-provenance@v2
56+
# with:
57+
# subject-name: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME}}
58+
# subject-digest: ${{ steps.push.outputs.digest }}
59+
# push-to-registry: true

0 commit comments

Comments
 (0)