From bcb0bf04eb0934436094e333802dfc6102f83031 Mon Sep 17 00:00:00 2001 From: Heman Jayam Date: Fri, 19 Jan 2024 12:26:40 -0600 Subject: [PATCH] setting env --- .goreleaser.yml | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index 349876f..3e0065e 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -10,7 +10,8 @@ builds: - main: cmd/plax/main.go id: plax binary: plax - buildmode: 'c-shared' + env: + - CGO_ENABLED=0 goos: - linux - darwin @@ -21,7 +22,8 @@ builds: - main: cmd/plaxrun/main.go id: plaxrun binary: plaxrun - buildmode: 'c-shared' + env: + - CGO_ENABLED=0 goos: - linux - darwin @@ -32,7 +34,8 @@ builds: - main: cmd/plaxrun/plugins/report/stdout/main.go id: plaxrun_report_stdout binary: plaxrun_report_stdout - buildmode: 'c-shared' + env: + - CGO_ENABLED=0 goos: - linux - darwin @@ -43,7 +46,8 @@ builds: - main: cmd/plaxrun/plugins/report/octane/main.go id: plaxrun_report_octane binary: plaxrun_report_octane - buildmode: 'c-shared' + env: + - CGO_ENABLED=0 goos: - linux - darwin @@ -54,7 +58,8 @@ builds: - main: cmd/plaxrun/plugins/report/rp/main.go id: plaxrun_report_rp binary: plaxrun_report_rp - buildmode: 'c-shared' + env: + - CGO_ENABLED=0 goos: - linux - darwin @@ -65,7 +70,8 @@ builds: - main: cmd/yamlincl/main.go id: yamlincl binary: yamlincl - buildmode: 'c-shared' + env: + - CGO_ENABLED=0 goos: - linux - darwin