This commit is contained in:
Sergey Zhemoytel 2024-12-14 14:21:19 +00:00
parent 04652fb049
commit d526884c5a

View file

@ -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}