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