Include storage provisioner version as ldflag when building preload tarballs

pull/8911/head
Priya Wadhwa 2020-08-03 19:09:45 -04:00
parent f1f7f07bf9
commit c42b906610
1 changed files with 2 additions and 1 deletions

View File

@ -536,7 +536,8 @@ kic-base-image: ## builds the base image used for kic.
.PHONY: upload-preloaded-images-tar
upload-preloaded-images-tar: out/minikube # Upload the preloaded images for oldest supported, newest supported, and default kubernetes versions to GCS.
go run ./hack/preload-images/*.go
go build -ldflags="$(MINIKUBE_LDFLAGS)" -o out/upload-preload ./hack/preload-images/*.go
./out/upload-preload
.PHONY: push-storage-provisioner-image
push-storage-provisioner-image: storage-provisioner-image ## Push storage-provisioner docker image using gcloud