This commit is contained in:
parent
e8661aec4b
commit
80bf4a3c48
|
@ -1,5 +1,14 @@
|
|||
pipeline:
|
||||
docker-build:
|
||||
test:
|
||||
image: golang:1.13
|
||||
commands:
|
||||
- go test ./cmd/... ./internal/...
|
||||
- go vet ./cmd/... ./internal/...
|
||||
build:
|
||||
image: golang:1.13
|
||||
commands:
|
||||
- GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -o build/drone-helm cmd/drone-helm/main.go
|
||||
docker:
|
||||
secrets: [docker_username, docker_password]
|
||||
image: woodpeckerci/plugin-docker-buildx
|
||||
repo: dentaku/woodpecker-helm3
|
||||
|
|
Loading…
Reference in a new issue