mirror of
https://abf.rosa.ru/djam/trufflehog.git
synced 2025-02-23 02:22:52 +00:00
3.86.1
This commit is contained in:
parent
04652fb049
commit
d526884c5a
1 changed files with 2 additions and 1 deletions
|
@ -42,7 +42,8 @@ trivy fs --scanners vuln --format cosign-vuln .
|
|||
%endif
|
||||
|
||||
%build
|
||||
export GOPROXY=https://proxy.golang.org/cached-only
|
||||
export GOSUMDB=off
|
||||
export GOPROXY=https://proxy.golang.org,direct
|
||||
|
||||
CGO_ENABLED=0 go build --ldflags="-s -w" -a -o bin/trufflehog main.go
|
||||
upx bin/%{name}
|
||||
|
|
Loading…
Add table
Reference in a new issue