1
0
Fork 0
mirror of synced 2024-11-17 06:25:36 -05:00

Fix multiarch build

This commit is contained in:
Ilya Sosnovsky 2022-09-05 11:48:34 +03:00 committed by GitHub
parent 7db35753ad
commit 5d41f6d91e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6,6 +6,6 @@ cd frontend && npm install && npm run build && cd ..
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