This commit is contained in:
parent
2b6b04863b
commit
f9330eff0b
|
@ -1,11 +1,11 @@
|
||||||
pipeline:
|
pipeline:
|
||||||
test:
|
test:
|
||||||
image: golang:1.13
|
image: golang:1.20
|
||||||
commands:
|
commands:
|
||||||
- go test ./cmd/... ./internal/...
|
- go test ./cmd/... ./internal/...
|
||||||
- go vet ./cmd/... ./internal/...
|
- go vet ./cmd/... ./internal/...
|
||||||
build:
|
build:
|
||||||
image: golang:1.13
|
image: golang:1.20
|
||||||
commands:
|
commands:
|
||||||
- GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -o build/drone-helm cmd/drone-helm/main.go
|
- GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -o build/drone-helm cmd/drone-helm/main.go
|
||||||
docker:
|
docker:
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
FROM alpine/helm:3.12.3
|
FROM alpine/helm:3.13.1
|
||||||
|
|
||||||
COPY build/drone-helm /bin/drone-helm
|
COPY build/drone-helm /bin/drone-helm
|
||||||
COPY assets/kubeconfig.tpl /root/.kube/config.tpl
|
COPY assets/kubeconfig.tpl /root/.kube/config.tpl
|
||||||
|
|
Loading…
Reference in a new issue