Skip to content

Commit 7ed5507

Browse files
committed
fix: update artifact attestation in CI workflow 📝
- Change push-to-registry to false in `ghcr.yml`
1 parent c9f866e commit 7ed5507

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/ghcr.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@ jobs:
4848
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
4949
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ steps.short-sha.outputs.sha }}
5050
labels: ${{ steps.meta.outputs.labels }}
51-
# - name: Generate artifact attestation
52-
# uses: actions/attest-build-provenance@v2
53-
# with:
54-
# subject-name: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
55-
# subject-digest: ${{ steps.push.outputs.digest }}
56-
# push-to-registry: true
51+
- name: Generate artifact attestation
52+
uses: actions/attest-build-provenance@v2
53+
with:
54+
subject-name: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
55+
subject-digest: ${{ steps.push.outputs.digest }}
56+
push-to-registry: false

0 commit comments

Comments
 (0)