sbon, 2
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
Wolfgang Hottgenroth 2025-02-03 17:18:44 +01:00
parent 0356e9dcee
commit 29148a13f4
Signed by: wn
GPG Key ID: 18FDFA577A8871AD

View File

@ -21,19 +21,9 @@ steps:
from_secret: trivy_token from_secret: trivy_token
TRIVY_URL: TRIVY_URL:
from_secret: trivy_url from_secret: trivy_url
args: entrypoint: [ "/bin/sh", "-c" ]
- "fs" commands:
- "--server" - trivy fs --server ${TRIVY_URL} --token ${TRIVY_TOKEN} --format cyclonedx --scanners license --output sbom.xml .
- "${TRIVY_URL}"
- "--token"
- "${TRIVY_TOKEN}"
- "--format"
- "cyclonedx"
- "--scanners"
- "license"
- "--output"
- "sbom.xml"
- "."
when: when:
- event: [push, tag] - event: [push, tag]