This commit is contained in:
@ -28,6 +28,17 @@ steps:
|
|||||||
- event: [ push, tag ]
|
- event: [ push, tag ]
|
||||||
|
|
||||||
build:
|
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
|
image: plugins/kaniko
|
||||||
settings:
|
settings:
|
||||||
repo: ${FORGE_NAME}/${CI_REPO}
|
repo: ${FORGE_NAME}/${CI_REPO}
|
||||||
@ -42,7 +53,7 @@ steps:
|
|||||||
when:
|
when:
|
||||||
- event: [ push, tag ]
|
- event: [ push, tag ]
|
||||||
|
|
||||||
build-for-quay:
|
dockerize-for-quay:
|
||||||
image: plugins/kaniko
|
image: plugins/kaniko
|
||||||
settings:
|
settings:
|
||||||
repo: quay.io/wollud1969/${CI_REPO_NAME}
|
repo: quay.io/wollud1969/${CI_REPO_NAME}
|
||||||
|
Reference in New Issue
Block a user