fix new ci, 1
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Wolfgang Hottgenroth 2025-02-04 15:05:53 +01:00
parent c40805b4cb
commit b99b47ca40
Signed by: wn
GPG Key ID: 18FDFA577A8871AD

View File

@ -3,6 +3,7 @@ steps:
image: golang:1.22.5-alpine3.20
commands:
- cd src/udi
- go mod tidy
- go build -a -installsuffix nocgo -o udi main.go
- cp udi ../..
@ -25,7 +26,7 @@ steps:
--token $TRIVY_TOKEN \
--format cyclonedx \
--scanners license \
--output sbom.xml \
--output /tmp/sbom.xml \
.
- cat /tmp/sbom.xml
- |
@ -35,7 +36,7 @@ steps:
-F "autoCreate=true" \
-F "projectName=$CI_REPO" \
-F "projectVersion=$CI_COMMIT_SHA" \
-F "bom=@sbom.xml"\
-F "bom=@/tmp/sbom.xml"\
"$DTRACK_API_URL/api/v1/bom"
when:
- event: [push, tag]