mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-31 03:45:17 +00:00
Update gh-gomod-generate-sbom
Signed-off-by: Vinod Anandan <vinod@owasp.org>
This commit is contained in:
parent
913bbd567a
commit
a07274f234
1 changed files with 4 additions and 5 deletions
9
.github/workflows/release.yaml
vendored
9
.github/workflows/release.yaml
vendored
|
@ -105,12 +105,11 @@ jobs:
|
|||
echo "KYVERNO_VERSION=$(git describe --match "v[0-9]*")"
|
||||
|
||||
- name: Generate SBOM JSON
|
||||
uses: CycloneDX/gh-gomod-generate-sbom@v0.3.0
|
||||
uses: CycloneDX/gh-gomod-generate-sbom@v1
|
||||
with:
|
||||
json: true
|
||||
output: kyverno-v${{ env.KYVERNO_VERSION }}-bom.cdx.json
|
||||
resolve-licenses: true
|
||||
version: ^v0
|
||||
version: v1
|
||||
args: mod -licenses -json -output kyverno-v${{ env.KYVERNO_VERSION }}-bom.cdx.json
|
||||
|
||||
- uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: kyverno-bom-cdx
|
||||
|
|
Loading…
Add table
Reference in a new issue