no cgo
This commit is contained in:
parent
34b3a76374
commit
009e87dfad
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@ -64,6 +64,6 @@ jobs:
|
||||
- name: Build and push latest docker image
|
||||
if: success() && github.ref == 'refs/heads/main'
|
||||
run: |
|
||||
go build -ldflags="-s -w -extldflags=-static"
|
||||
CGO_ENABLED=0 go build -ldflags="-s -w -extldflags=-static"
|
||||
docker build . -t ghcr.io/buckaroobanzay/minetest-web:latest
|
||||
docker push ghcr.io/buckaroobanzay/minetest-web:latest
|
||||
|
Loading…
x
Reference in New Issue
Block a user