mirror of
https://abf.rosa.ru/djam/trufflehog.git
synced 2025-02-23 14:32:54 +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
|
%endif
|
||||||
|
|
||||||
%build
|
%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
|
CGO_ENABLED=0 go build --ldflags="-s -w" -a -o bin/trufflehog main.go
|
||||||
upx bin/%{name}
|
upx bin/%{name}
|
||||||
|
|
Loading…
Add table
Reference in a new issue