Skip to content

Commit

Permalink
Fix the SBOM generation step in the release action (#712)
Browse files Browse the repository at this point in the history
  • Loading branch information
ccojocar authored Oct 15, 2021
1 parent 5a3a27a commit 6921395
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,10 @@ jobs:
id: get_version
run: echo ::set-env name=RELEASE_VERSION::$(echo ${GITHUB_REF:10})
- name: Generate SBOM
uses: CycloneDX/gh-gomod-generate-sbom@v1.0.0
uses: CycloneDX/gh-gomod-generate-sbom@v1
with:
json: true
output: bom.json
resolve-licenses: true
version: ^v0
version: v1
args: mod -licenses -json -output bom.json
- name: Release Binaries
uses: goreleaser/goreleaser-action@v2
with:
Expand Down

0 comments on commit 6921395

Please sign in to comment.