From aa88fee3558906ce51882924889e95016b33ae91 Mon Sep 17 00:00:00 2001 From: Sergey Zhemoytel Date: Tue, 2 Jul 2024 11:01:04 +0000 Subject: [PATCH] 0.8.0 --- kube-bench.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kube-bench.spec b/kube-bench.spec index a7e4b14..c2a4c63 100644 --- a/kube-bench.spec +++ b/kube-bench.spec @@ -33,7 +33,7 @@ trivy fs --scanners vuln --format cosign-vuln . %endif %build -export GOPROXY=direct +export GOPROXY=https://proxy.golang.org/cached-only CGO_ENABLED=0 go build -ldflags "-X github.com/aquasecurity/kube-bench/cmd.KubeBenchVersion=%{version}" -o bin/%{name} . upx bin/%{name} @@ -46,7 +46,7 @@ install -Dm0755 bin/%{name} %{buildroot}%{_bindir}/%{name} %{_bindir}/%{name} %check -export GOPROXY=direct +export GOPROXY=https://proxy.golang.org/cached-only #go test ./... %if %{secscan}