From fb5880ee3d845491bf1aaa50bebeab5bb486a74e Mon Sep 17 00:00:00 2001 From: Awar Abdulkarim <48431495+NotAwar@users.noreply.github.com> Date: Wed, 25 Jun 2025 15:11:04 +0200 Subject: [PATCH] fix: update versions for attest-sbom action --- ...rtifact-attestations-to-establish-provenance-for-builds.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/actions/security-for-github-actions/using-artifact-attestations/using-artifact-attestations-to-establish-provenance-for-builds.md b/content/actions/security-for-github-actions/using-artifact-attestations/using-artifact-attestations-to-establish-provenance-for-builds.md index 7d7778cb3d7c..c93c5394f8a6 100644 --- a/content/actions/security-for-github-actions/using-artifact-attestations/using-artifact-attestations-to-establish-provenance-for-builds.md +++ b/content/actions/security-for-github-actions/using-artifact-attestations/using-artifact-attestations-to-establish-provenance-for-builds.md @@ -137,7 +137,7 @@ When you run your updated workflows, they will build your artifacts and generate ```yaml - name: Generate SBOM attestation - uses: actions/attest-sbom@v1 + uses: actions/attest-sbom@v2 with: subject-path: 'PATH/TO/ARTIFACT' sbom-path: 'PATH/TO/SBOM' @@ -161,7 +161,7 @@ When you run your updated workflows, they will build your artifacts and generate ```yaml - name: Generate SBOM attestation - uses: actions/attest-sbom@v1 + uses: actions/attest-sbom@v2 with: subject-name: {% raw %}${{ env.REGISTRY }}/PATH/TO/IMAGE{% endraw %} subject-digest: 'sha256:fedcba0...'