mirror of
https://github.com/kubernetes-sigs/descheduler.git
synced 2026-01-26 05:14:13 +01:00
Changes image variable name based on code review comments
This commit is contained in:
8
Makefile
8
Makefile
@@ -29,7 +29,10 @@ HAS_GOLANGCI := $(shell which golangci-lint)
|
|||||||
REGISTRY?=staging-k8s.gcr.io
|
REGISTRY?=staging-k8s.gcr.io
|
||||||
|
|
||||||
# IMAGE is the image name of descheduler
|
# 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
|
all: build
|
||||||
|
|
||||||
@@ -44,7 +47,8 @@ image:
|
|||||||
|
|
||||||
push-container-to-gcloud: image
|
push-container-to-gcloud: image
|
||||||
gcloud auth configure-docker
|
gcloud auth configure-docker
|
||||||
docker push $(IMAGE)
|
docker tag $(IMAGE) $(IMAGE_GCLOUD)
|
||||||
|
docker push $(IMAGE_GCLOUD)
|
||||||
|
|
||||||
push: push-container-to-gcloud
|
push: push-container-to-gcloud
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user