Skip to content

Commit

Permalink
Explicitly set SPDX as SBOM format
Browse files Browse the repository at this point in the history
  • Loading branch information
danjov committed Nov 8, 2024
1 parent d3de0fd commit e007152
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pre-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ jobs:
push-to-registry: true

- name: Extract SBOM in SPDX format
run: docker buildx imagetools inspect ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} --format "{{ json .SBOM }}" > sbom.spdx.json
run: docker buildx imagetools inspect ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} --format "{{ json .SBOM.SPDX }}" > sbom.spdx.json

- name: Generate SBOM attestation
uses: actions/attest-sbom@v1
Expand Down

0 comments on commit e007152

Please sign in to comment.