Skip to content

Commit

Permalink
Publish Flux Software Bill of Materials (SBOM) in SPDX format
Browse files Browse the repository at this point in the history
- generate SBOM for Flux Go modules with Syft
- publish the SBOM SPDX JSON files to GitHub releases with GoReleaser

Signed-off-by: Stefan Prodan <[email protected]>
  • Loading branch information
stefanprodan committed Jan 14, 2022
1 parent f38b832 commit 93401ea
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,12 @@ jobs:
- name: Archive the OpenAPI JSON schemas
run: |
tar -czvf ./output/crd-schemas.tar.gz -C schemas .
- name: Setup Syft
run: |
curl -sSfL https://raw.githubusercontent.com/anchore/syft/main/install.sh | \
sh -s -- -b /usr/local/bin v${SYFT_VERSION}
env:
SYFT_VERSION: "0.35.1"
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v1
with:
Expand Down
2 changes: 2 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ archives:
format: zip
files:
- none*
sboms:
- artifacts: archive
brews:
- name: flux
tap:
Expand Down

0 comments on commit 93401ea

Please sign in to comment.