Skip to content

Commit

Permalink
Fix multiarch build
Browse files Browse the repository at this point in the history
  • Loading branch information
pashcovich committed Sep 5, 2022
1 parent 7db3575 commit 5d41f6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 5d41f6d

Please sign in to comment.