Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4c6350fdee |
@@ -44,8 +44,9 @@ check:
|
||||
@script/check
|
||||
|
||||
# Built with cgo off, -trimpath and -s -w, as the Go Dockerfile in
|
||||
# REPO_POLICIES.md does: the binary is statically linked and carries no
|
||||
# build paths, symbol table or debug information.
|
||||
# REPO_POLICIES.md does: the binary carries no build paths, symbol table or
|
||||
# debug information, and on Linux, the image's included, it is statically
|
||||
# linked.
|
||||
build: assets
|
||||
CGO_ENABLED=0 go build -trimpath -ldflags '-s -w -X main.version=$(VERSION)' -o bin/webhooker ./cmd/webhooker
|
||||
|
||||
|
||||
Reference in New Issue
Block a user