This commit is contained in:
parent
9310a86687
commit
64cf45e22f
@ -22,7 +22,7 @@ steps:
|
||||
TRIVY_URL:
|
||||
from_secret: trivy_url
|
||||
commands:
|
||||
- trivy fs --server ${TRIVY_URL} --token ${TRIVY_TOKEN} --format cyclonedx --scanners license --output sbom.xml .
|
||||
- trivy fs --server $TRIVY_URL --token $TRIVY_TOKEN --format cyclonedx --scanners license --output /woodpecker/sbom.xml .
|
||||
when:
|
||||
- event: [push, tag]
|
||||
|
||||
@ -42,7 +42,7 @@ steps:
|
||||
-F "autoCreate=true" \
|
||||
-F "projectName=$CI_REPO" \
|
||||
-F "projectVersion=$CI_COMMIT_SHA" \
|
||||
-F "bom=@sbom.xml"\
|
||||
-F "bom=@/woodpecker/sbom.xml"\
|
||||
"$DTRACK_API_URL/api/v1/bom"
|
||||
when:
|
||||
- event: [push, tag]
|
||||
|
Loading…
x
Reference in New Issue
Block a user