Skip to content

Commit

Permalink
Build stripped binaries to reduce sizes
Browse files Browse the repository at this point in the history
  • Loading branch information
tcnghia committed Oct 27, 2020
1 parent 554b682 commit 5c79414
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,8 @@ ARTIFACTS_TO_PUBLISH=""
FROM_NIGHTLY_RELEASE=""
FROM_NIGHTLY_RELEASE_GCS=""
export KO_DOCKER_REPO="gcr.io/knative-nightly"
# Build stripped binary to reduce size
export GOFLAGS="-ldflags=-s -ldflags=-w"
export GITHUB_TOKEN=""

# Convenience function to run the hub tool.
Expand Down

0 comments on commit 5c79414

Please sign in to comment.