From 4d85601f0c58b355f4c54b5cc064d3adfcd67bdf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adolfo=20Garc=C3=ADa=20Veytia=20=28Puerco=29?= Date: Mon, 20 Jul 2026 22:06:04 -0600 Subject: [PATCH] Genreate SBOM with new action MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Adolfo GarcĂ­a Veytia (Puerco) --- .github/workflows/release.yaml | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 2537783..66a5535 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -34,18 +34,17 @@ jobs: with: fetch-depth: 1 - - name: Install bom - uses: kubernetes-sigs/release-actions/setup-bom@c130b4494862d330a1aa4de320076c666d0708da # v0.4.4 - - - name: Generate SBOM - shell: bash - run: | - bom generate --format=json -o /tmp/${{github.event.repository.name}}-${{ steps.tag.outputs.tag_name }}.spdx.json . - - name: Publish Release uses: kubernetes-sigs/release-actions/publish-release@c130b4494862d330a1aa4de320076c666d0708da # v0.4.4 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - assets: "/tmp/${{github.event.repository.name}}-${{ steps.tag.outputs.tag_name }}.spdx.json" sbom: false + + - name: Generate SBOM + id: sbom + uses: carabiner-dev/actions/unpack/sbom@2a4b2cd115ede14629b03ef7e77586d3269d4c72 # v1.2.3 + with: + push-to-release: ${{ steps.tag.outputs.tag_name }} + env: + GH_TOKEN: ${{ github.token }}