Fix multiarch build
This commit is contained in:
parent
7db35753ad
commit
5d41f6d91e
1 changed files with 1 additions and 1 deletions
2
build.sh
2
build.sh
|
@ -6,6 +6,6 @@ cd frontend && npm install && npm run build && cd ..
|
||||||
|
|
||||||
packr2
|
packr2
|
||||||
|
|
||||||
CGO_ENABLED=1 GOOS=linux GOARCH=amd64 go build -a -tags netgo -ldflags "-linkmode external -extldflags -static -s -w" $@
|
CGO_ENABLED=1 GOOS=linux GOARCH=${GOARCH:-amd64} go build -a -tags netgo -ldflags "-linkmode external -extldflags -static -s -w" $@
|
||||||
|
|
||||||
packr2 clean
|
packr2 clean
|
||||||
|
|
Loading…
Reference in a new issue