Skip to content

Commit 6b176b4

Browse files
salasberryfink8s-infra-cherrypick-robot
authored andcommitted
chore: support registry overrides in makefile
Signed-off-by: Carlos Salas <[email protected]>
1 parent c9ede2d commit 6b176b4

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)