Skip to content

Commit

Permalink
Fix build of scorecard-proxy image on other arches
Browse files Browse the repository at this point in the history
  • Loading branch information
yselkowitz committed Feb 13, 2020
1 parent 5368d59 commit 4a44c2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hack/image/build-scorecard-proxy-image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ source hack/lib/image_lib.sh

# build operator binary and base image
WD="$(dirname "$(pwd)")"
GOOS=linux GOARCH=amd64 CGO_ENABLED=0 \
GOOS=linux CGO_ENABLED=0 \
go build \
-gcflags "all=-trimpath=${WD}" \
-asmflags "all=-trimpath=${WD}" \
Expand Down

0 comments on commit 4a44c2f

Please sign in to comment.