From 98cf0511629ba7db83c1b2adef92f3bd30172aa7 Mon Sep 17 00:00:00 2001 From: 8naama Date: Sun, 14 Jul 2024 16:27:20 +0300 Subject: [PATCH] resolve issue with release version on build --- .github/workflows/release.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index f8dc304..0fccf9b 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -44,7 +44,7 @@ jobs: run: | cd cfn-lambda cp -R ../common ./common - GOOS=linux GOARCH=amd64 go build -o bootstrap . + GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -o bootstrap . zip -x "*_test.go" -r ../cfn-lambda.zip . cd .. @@ -52,7 +52,7 @@ jobs: run: | cd eventbridge-lambda cp -R ../common ./common - GOOS=linux GOARCH=amd64 go build -o bootstrap . + GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -o bootstrap . zip -x "*_test.go" -r ../eventbridge-lambda.zip . cd ..