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

This commit is contained in:
Wolfgang Hottgenroth 2025-02-04 16:04:59 +01:00
parent 71773968c9
commit 4debe45592
Signed by: wn
GPG Key ID: 18FDFA577A8871AD

View File

@ -22,7 +22,7 @@ steps:
commands: commands:
- export GOPATH=/woodpecker/go # the export is required, otherwise trivy will not consider the variable - export GOPATH=/woodpecker/go # the export is required, otherwise trivy will not consider the variable
- HOME=/home/`id -nu` - HOME=/home/`id -nu`
- TAG="${CI_COMMIT_TAG:-$CI_COMMIT_SHA} - TAG="${CI_COMMIT_TAG:-$CI_COMMIT_SHA}"
- | - |
trivy fs \ trivy fs \
--server $TRIVY_URL \ --server $TRIVY_URL \