Skip to content

Commit 69eb094

Browse files
authored
Merge pull request #5271 from k8s-infra-cherrypick-robot/cherry-pick-5270-to-release-1.17
[release-1.17] chore: support registry overrides in makefile
2 parents c9ede2d + 6b176b4 commit 69eb094

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,8 +151,8 @@ ifeq (,$(shell command -v gcloud))
151151
else
152152
REGISTRY ?= localhost:5000
153153
endif
154-
STAGING_REGISTRY := gcr.io/k8s-staging-cluster-api-azure
155-
PROD_REGISTRY := registry.k8s.io/cluster-api-azure
154+
STAGING_REGISTRY ?= gcr.io/k8s-staging-cluster-api-azure
155+
PROD_REGISTRY ?= registry.k8s.io/cluster-api-azure
156156
IMAGE_NAME ?= cluster-api-azure-controller
157157
CONTROLLER_IMG ?= $(REGISTRY)/$(IMAGE_NAME)
158158
TAG ?= dev

0 commit comments

Comments
 (0)