Skip to content

Commit 65b5060

Browse files
fix: update versions for attest-sbom action (#39046)
Co-authored-by: Sharra-writes <[email protected]>
1 parent 9341f62 commit 65b5060

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/actions/security-for-github-actions/using-artifact-attestations/using-artifact-attestations-to-establish-provenance-for-builds.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ When you run your updated workflows, they will build your artifacts and generate
137137

138138
```yaml
139139
- name: Generate SBOM attestation
140-
uses: actions/attest-sbom@v1
140+
uses: actions/attest-sbom@v2
141141
with:
142142
subject-path: 'PATH/TO/ARTIFACT'
143143
sbom-path: 'PATH/TO/SBOM'
@@ -161,7 +161,7 @@ When you run your updated workflows, they will build your artifacts and generate
161161

162162
```yaml
163163
- name: Generate SBOM attestation
164-
uses: actions/attest-sbom@v1
164+
uses: actions/attest-sbom@v2
165165
with:
166166
subject-name: {% raw %}${{ env.REGISTRY }}/PATH/TO/IMAGE{% endraw %}
167167
subject-digest: 'sha256:fedcba0...'

0 commit comments

Comments
 (0)