From 6a08b5661aaa34b6e03d8a2b029068f607e11e12 Mon Sep 17 00:00:00 2001 From: Sean Malloy Date: Thu, 20 Jun 2019 01:00:01 -0500 Subject: [PATCH] Changes image variable name based on code review comments --- Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 55b536e80..8ce134904 100644 --- a/Makefile +++ b/Makefile @@ -29,7 +29,10 @@ HAS_GOLANGCI := $(shell which golangci-lint) REGISTRY?=staging-k8s.gcr.io # IMAGE is the image name of descheduler -IMAGE:=$(REGISTRY)/descheduler:$(VERSION) +IMAGE:=descheduler:$(VERSION) + +# IMAGE_GCLOUD is the image name of descheduler in the remote registry +IMAGE_GCLOUD:=$(REGISTRY)/descheduler:$(VERSION) all: build @@ -44,7 +47,8 @@ image: push-container-to-gcloud: image gcloud auth configure-docker - docker push $(IMAGE) + docker tag $(IMAGE) $(IMAGE_GCLOUD) + docker push $(IMAGE_GCLOUD) push: push-container-to-gcloud