From 4890388046dfa03194e96ea223e35e8e948ddf5f Mon Sep 17 00:00:00 2001 From: mosa Date: Fri, 18 Aug 2023 10:39:06 +0900 Subject: [PATCH] Add CGO_ENABLED=0 (#450) --- .goreleaser.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.goreleaser.yml b/.goreleaser.yml index 3ac15945..084ba2f4 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -9,6 +9,8 @@ builds: ldflags: - -s -w -X "main.airVersion={{.Version}}" - -s -w -X "main.goVersion={{.Env.GOVERSION}}" + env: + - CGO_ENABLED=0 archives: - id: tar.gz format: tar.gz