Skip to content

Commit ac8a43b

Browse files
committed
1
1 parent 00a217c commit ac8a43b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/ghcr.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,17 +94,17 @@ jobs:
9494
9595
- name: Generate artifact attestation
9696
if: github.event_name != 'pull_request'
97-
uses: actions/attest-build-provenance@v2
97+
uses: actions/attest-build-provenance@v3
9898
with:
9999
subject-name: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
100100
subject-digest: ${{ steps.push.outputs.digest }}
101-
push-to-registry: true
101+
push-to-registry: false
102102

103103
- name: Generate SBOM
104104
if: github.event_name != 'pull_request'
105105
uses: anchore/[email protected]
106106
with:
107-
image: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}@${{ steps.short-sha.outputs.sha }}
107+
image: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}@${{ steps.push.outputs.digest }}
108108
format: spdx-json
109109
output-file: sbom.spdx.json
110110

0 commit comments

Comments
 (0)