mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-28 10:28:36 +00:00
include time and hash in build info (#10474)
Signed-off-by: airycanon <airycanon@airycanon.me>
This commit is contained in:
parent
6e92066ac7
commit
585aff0aca
1 changed files with 4 additions and 1 deletions
|
@ -6,7 +6,10 @@ before:
|
|||
|
||||
builds:
|
||||
- id: kyverno-cli
|
||||
main: cmd/cli/kubectl-kyverno/main.go
|
||||
# As mentioned in https://github.com/golang/go/issues/51831, to include build info, we should use go build <package>
|
||||
# instead of go build main.go here.
|
||||
# see https://goreleaser.com/customization/builds/
|
||||
main: ./cmd/cli/kubectl-kyverno
|
||||
binary: kyverno
|
||||
env:
|
||||
- CGO_ENABLED=0
|
||||
|
|
Loading…
Add table
Reference in a new issue