diff --git a/kubepug.spec b/kubepug.spec index 1e2ac6d..b749da3 100644 --- a/kubepug.spec +++ b/kubepug.spec @@ -28,6 +28,7 @@ Versions, allowing the user to check before migrating %setup -q %build +export GOPROXY=direct CGO_ENABLED=0 go build -trimpath -ldflags "-X sigs.k8s.io/release-utils/version.gitVersion=%{version}" -o ./bin/kubepug . upx bin/%{name}