update for CGO
This commit is contained in:
parent
98bb4e4ba4
commit
7533ed95ad
|
@ -19,7 +19,7 @@ steps:
|
||||||
- name: build
|
- name: build
|
||||||
image: golang:1.13
|
image: golang:1.13
|
||||||
commands:
|
commands:
|
||||||
- GOOS=linux GOARCH=amd64 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
|
||||||
- name: publish_linux_amd64
|
- name: publish_linux_amd64
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
settings:
|
settings:
|
||||||
|
|
Loading…
Reference in a new issue