This commit is contained in:
@ -28,6 +28,17 @@ steps:
|
||||
- event: [ push, tag ]
|
||||
|
||||
build:
|
||||
image: golang:1.24.4-alpine3.22
|
||||
commands:
|
||||
- GOPATH=/woodpecker/go
|
||||
- cd src/sbom-dd-dt
|
||||
- go mod tidy
|
||||
- go build -a -installsuffix nocgo -o sbom-dd-dt main.go
|
||||
- cp sbom-dd-dt ../..
|
||||
when:
|
||||
- event: [push, tag]
|
||||
|
||||
dockerize:
|
||||
image: plugins/kaniko
|
||||
settings:
|
||||
repo: ${FORGE_NAME}/${CI_REPO}
|
||||
@ -42,7 +53,7 @@ steps:
|
||||
when:
|
||||
- event: [ push, tag ]
|
||||
|
||||
build-for-quay:
|
||||
dockerize-for-quay:
|
||||
image: plugins/kaniko
|
||||
settings:
|
||||
repo: quay.io/wollud1969/${CI_REPO_NAME}
|
||||
|
Reference in New Issue
Block a user