mirror of
https://github.com/fluxcd/flux2.git
synced 2026-02-08 00:37:27 +00:00
Publish Flux Software Bill of Materials (SBOM) in SPDX format
- generate SBOM for Flux Go modules with Syft - publish the SBOM SPDX JSON files to GitHub releases with GoReleaser Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
This commit is contained in:
parent
677dca0bc4
commit
11296cd94f
2 changed files with 6 additions and 0 deletions
4
.github/workflows/release.yaml
vendored
4
.github/workflows/release.yaml
vendored
|
|
@ -66,6 +66,10 @@ jobs:
|
|||
- name: Archive the OpenAPI JSON schemas
|
||||
run: |
|
||||
tar -czvf ./output/crd-schemas.tar.gz -C schemas .
|
||||
- name: Setup Syft
|
||||
uses: fluxcd/pkg//actions/sbom@main
|
||||
with:
|
||||
version: "v0.35.1"
|
||||
- name: Run GoReleaser
|
||||
uses: goreleaser/goreleaser-action@v1
|
||||
with:
|
||||
|
|
|
|||
|
|
@ -40,6 +40,8 @@ archives:
|
|||
format: zip
|
||||
files:
|
||||
- none*
|
||||
sboms:
|
||||
- artifacts: archive
|
||||
brews:
|
||||
- name: flux
|
||||
tap:
|
||||
|
|
|
|||
Loading…
Reference in a new issue