disable cgo on master build

This commit is contained in:
BuckarooBanzay 2022-02-01 15:58:38 +01:00
parent 3aa0f239e2
commit 0f7b1988a7

View File

@ -60,6 +60,6 @@ jobs:
- name: Build and push latest docker image - name: Build and push latest docker image
if: success() && github.ref == 'refs/heads/master' if: success() && github.ref == 'refs/heads/master'
run: | run: |
go build . CGO_ENABLED=0 go build .
docker build . -t minetestmapserver/mapserver:latest docker build . -t minetestmapserver/mapserver:latest
docker push minetestmapserver/mapserver:latest docker push minetestmapserver/mapserver:latest