From e6bacbfe820ffad5f8ad72abb8dcd2170b7f099e Mon Sep 17 00:00:00 2001 From: eversC Date: Wed, 13 Nov 2019 22:47:29 +0000 Subject: [PATCH] Add CGO_ENABLED to binary build --- .goreleaser.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.goreleaser.yml b/.goreleaser.yml index 59074f5b..50e266d4 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -25,6 +25,8 @@ builds: - linux goarch: - amd64 + env: + - CGO_ENABLED=0 ldflags: - -s -w - -X github.com/ovotech/cloud-key-rotator/pkg/build.Version={{.Version}}