From c791e10345996abc67d9910290a93ac29759ef6e Mon Sep 17 00:00:00 2001 From: Amit Tiwari Date: Sat, 25 Jan 2025 00:41:53 +0530 Subject: [PATCH] push sbom fix --- .github/workflows/reuse.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/reuse.yaml b/.github/workflows/reuse.yaml index 951e090f..109ff0b1 100644 --- a/.github/workflows/reuse.yaml +++ b/.github/workflows/reuse.yaml @@ -187,5 +187,5 @@ jobs: - name: Attach SBOM if: ${{inputs.tag == 'release'}} env: - COSIGN_REPOSITORY: "ghcr.io/${{ github.repository_owner }}/sbom" - run: cosign attach sbom --sbom ./${{inputs.image_name}}-v*-bom.cdx.json --type cyclonedx ghcr.io/${{ github.repository_owner }}/${{ github.repository }}/${{inputs.image_name}}@sha256:${{ env.digest }} + COSIGN_REPOSITORY: "ghcr.io/${{ github.repository_owner }}/${{ github.repository }}/sbom" + run: cosign attach sbom --sbom ./${{inputs.image_name}}-v*-bom.cdx.json --type cyclonedx ghcr.io/${{ github.repository_owner }}/${{inputs.image_name}}@sha256:${{ env.digest }}