Skip to content

Commit

Permalink
Merge pull request #5 from hex108/build
Browse files Browse the repository at this point in the history
Static build for buiding image
  • Loading branch information
hex108 authored Sep 23, 2020
2 parents ca7695a + b561c5c commit 466b54b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hack/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ set -o errexit
set -o nounset
set -o pipefail

go build -o bin/cron-hpa-controller .
CGO_ENABLED=0 go build -o bin/cron-hpa-controller .
if [ $? -eq 0 ]; then
echo "Build success!"
else
Expand Down

0 comments on commit 466b54b

Please sign in to comment.