From 0f7b1988a7df0fd164e5dbe67eb84feafbaa39c5 Mon Sep 17 00:00:00 2001 From: BuckarooBanzay Date: Tue, 1 Feb 2022 15:58:38 +0100 Subject: [PATCH] disable cgo on master build --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 916d840..01883b1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -60,6 +60,6 @@ jobs: - name: Build and push latest docker image if: success() && github.ref == 'refs/heads/master' run: | - go build . + CGO_ENABLED=0 go build . docker build . -t minetestmapserver/mapserver:latest docker push minetestmapserver/mapserver:latest