check if kic-base image exists before pushing

pull/8810/head
Marcin Niemira 2020-07-24 15:31:16 +10:00
parent feeb0abe26
commit 413acacf13
No known key found for this signature in database
GPG Key ID: 053E25BDC33ED6A3
1 changed files with 1 additions and 0 deletions

View File

@ -546,6 +546,7 @@ push-storage-provisioner-image: storage-provisioner-image ## Push storage-provis
.PHONY: push-kic-base-image
push-kic-base-image: kic-base-image ## Push kic-base docker image using gcloud
(docker pull $(KIC_BASE_IMAGE) && (echo "Image already exist"; exit 1) || echo "Image doesn't exist in registry. Pushing...")
gcloud docker -- push $(KIC_BASE_IMAGE)
.PHONY: out/gvisor-addon