This commit is contained in:
parent
ff49d285dc
commit
e25693fb84
@ -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 \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user