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