diff --git a/Dockerfile b/Dockerfile index 693f940..ae0971f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Build the manager binary -FROM golang:1.19 as builder +FROM mirror.gcr.io/library/golang:1.19 as builder ARG TARGETOS ARG TARGETARCH diff --git a/Makefile b/Makefile index 6d44459..afdc871 100644 --- a/Makefile +++ b/Makefile @@ -163,4 +163,4 @@ $(CONTROLLER_GEN): $(LOCALBIN) .PHONY: envtest envtest: $(ENVTEST) ## Download envtest-setup locally if necessary. $(ENVTEST): $(LOCALBIN) - test -s $(LOCALBIN)/setup-envtest || GOBIN=$(LOCALBIN) go install sigs.k8s.io/controller-runtime/tools/setup-envtest@latest + test -s $(LOCALBIN)/setup-envtest || GOBIN=$(LOCALBIN) go install sigs.k8s.io/controller-runtime/tools/setup-envtest@release-0.16