diff --git a/.woodpecker/docker.yml b/.woodpecker/docker.yml index ccb5664..a411777 100644 --- a/.woodpecker/docker.yml +++ b/.woodpecker/docker.yml @@ -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