1
0
mirror of https://github.com/kubernetes-sigs/descheduler.git synced 2026-01-28 14:41:10 +01:00

Use correct GCR staging registry

The container registry now defaults to
the correct staging registry.
This commit is contained in:
Sean Malloy
2019-07-25 01:34:48 -05:00
parent 18e3fd3de5
commit 462bbbbb47

View File

@@ -25,8 +25,10 @@ LDFLAGS=-ldflags "-X ${LDFLAG_LOCATION}.version=${VERSION} -X ${LDFLAG_LOCATION}
GOLANGCI_VERSION := v1.15.0 GOLANGCI_VERSION := v1.15.0
HAS_GOLANGCI := $(shell which golangci-lint) HAS_GOLANGCI := $(shell which golangci-lint)
# REGISTRY is the container registry to push into. # REGISTRY is the container registry to push
REGISTRY?=staging-k8s.gcr.io # into. The default is to push to the staging
# registry, not production.
REGISTRY?=gcr.io/k8s-staging-descheduler
# IMAGE is the image name of descheduler # IMAGE is the image name of descheduler
IMAGE:=descheduler:$(VERSION) IMAGE:=descheduler:$(VERSION)
@@ -34,6 +36,11 @@ IMAGE:=descheduler:$(VERSION)
# IMAGE_GCLOUD is the image name of descheduler in the remote registry # IMAGE_GCLOUD is the image name of descheduler in the remote registry
IMAGE_GCLOUD:=$(REGISTRY)/descheduler:$(VERSION) IMAGE_GCLOUD:=$(REGISTRY)/descheduler:$(VERSION)
# TODO: upload binaries to GCS bucket
#
# In the future binaries can be uploaded to
# GCS bucket gs://k8s-staging-descheduler.
all: build all: build
build: build: