woodpecker-helm3/.woodpecker/docker.yml
Thomas Renger 80bf4a3c48
Some checks failed
ci/woodpecker/push/docker Pipeline failed
CI: add test and build
2023-02-09 22:58:25 +01:00

18 lines
499 B
YAML

pipeline:
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
settings:
platforms: linux/amd64
tag: latest
auto-tag: true