From 1d78b76321853ef8c59351c9cb8589d214c0624c Mon Sep 17 00:00:00 2001 From: Pedro Lopes <83576881+pedrompflopes@users.noreply.github.com> Date: Wed, 1 Sep 2021 11:48:15 +0100 Subject: [PATCH] added cgo flag (#263) --- .goreleaser.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.goreleaser.yml b/.goreleaser.yml index b68bdc56b..21ca80a9d 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -7,6 +7,8 @@ release: builds: - main: ./cmd/main.go + env: + - CGO_ENABLED=0 binary: cx goos: - linux