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

This commit is contained in:
Wolfgang Hottgenroth 2025-02-04 15:11:49 +01:00
parent ff49d285dc
commit e25693fb84
Signed by: wn
GPG Key ID: 18FDFA577A8871AD

View File

@ -2,7 +2,7 @@ steps:
build: build:
image: golang:1.22.5-alpine3.20 image: golang:1.22.5-alpine3.20
commands: commands:
- export GOPATH=/woodpecker/go - GOPATH=/woodpecker/go
- cd src/udi - cd src/udi
- go mod tidy - go mod tidy
- go build -a -installsuffix nocgo -o udi main.go - go build -a -installsuffix nocgo -o udi main.go
@ -22,6 +22,7 @@ steps:
DTRACK_API_URL: DTRACK_API_URL:
from_secret: dtrack_api_url from_secret: dtrack_api_url
commands: commands:
- GOPATH=/woodpecker/go
- HOME=/home/`id -nu` - HOME=/home/`id -nu`
- | - |
trivy fs \ trivy fs \