woodpecker-helm3/.woodpecker/docker.yml

18 lines
501 B
YAML
Raw Normal View History

2023-02-09 21:52:52 +00:00
pipeline:
2023-02-09 21:58:25 +00:00
test:
2023-11-06 16:49:44 +00:00
image: golang:1.20
2023-02-09 21:58:25 +00:00
commands:
- go test ./cmd/... ./internal/...
- go vet ./cmd/... ./internal/...
build:
2023-11-06 16:49:44 +00:00
image: golang:1.20
2023-02-09 21:58:25 +00:00
commands:
- GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -o build/drone-helm cmd/drone-helm/main.go
docker:
2023-02-09 21:52:52 +00:00
secrets: [docker_username, docker_password]
image: woodpeckerci/plugin-docker-buildx
settings:
2023-09-23 12:33:43 +00:00
repo: dentaku/woodpecker-helm3
2023-02-09 21:52:52 +00:00
platforms: linux/amd64
tag: latest
auto-tag: true