diff --git a/Makefile b/Makefile index ade48fcbf7bc..170e07778aea 100644 --- a/Makefile +++ b/Makefile @@ -668,6 +668,14 @@ release-hyperkit-driver: install-hyperkit-driver checksum ## Copy hyperkit using gsutil cp $(GOBIN)/docker-machine-driver-hyperkit gs://minikube/drivers/hyperkit/$(VERSION)/ gsutil cp $(GOBIN)/docker-machine-driver-hyperkit.sha256 gs://minikube/drivers/hyperkit/$(VERSION)/ +.PHONY: build-and-push-hyperkit-build-image +build-and-push-hyperkit-build-image: + test -d out/xcgo || git clone https://github.com/neilotoole/xcgo.git out/xcgo + (cd out/xcgo && git restore . && git pull && \ + sed -i'.bak' -e 's/ARG GO_VERSION.*/ARG GO_VERSION="go$(GO_VERSION)"/' Dockerfile && \ + docker build -t gcr.io/k8s-minikube/xcgo:go$(GO_VERSION) .) + docker push gcr.io/k8s-minikube/xcgo:go$(GO_VERSION) + .PHONY: check-release check-release: ## Execute go test go test -timeout 42m -v ./deploy/minikube/release_sanity_test.go