Skip to content

Commit

Permalink
Ensure GOOS and GOARCH are not overridden
Browse files Browse the repository at this point in the history
  • Loading branch information
sorenisanerd committed Nov 9, 2023
1 parent 536eefc commit 92320df
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ jobs:
- name: Build
run: |
set -ex
GOOS=linux GOARCH=amd64 make
mv docker-ext docker-ext.linux.amd64
GOOS=linux GOARCH=arm64 make
Expand Down
2 changes: 1 addition & 1 deletion GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ clean: ## Remove build artifacts
rm -rf ${PLUGIN_BINARY}

build:
GOOS=linux GOARCH=amd64 go build -o ${PLUGIN_BINARY} .
go build -o ${PLUGIN_BINARY} .

0 comments on commit 92320df

Please sign in to comment.