update for CGO

This commit is contained in:
Joachim Hill-Grannec 2022-08-23 10:11:21 -06:00
parent 98bb4e4ba4
commit 7533ed95ad
No known key found for this signature in database
GPG key ID: 4391E44ED5D6BB46

View file

@ -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: