Skip to content

Commit

Permalink
Merge pull request #3831 from prometherion/issues/3830
Browse files Browse the repository at this point in the history
chore(make): ignoring gcloud project name for local builds
  • Loading branch information
k8s-ci-robot authored Aug 17, 2023
2 parents ccb8614 + fb8fa1a commit a050247
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,11 @@ else
endif

# Define Docker related variables. Releases should modify and double check these vars.
REGISTRY ?= gcr.io/$(shell gcloud config get-value project)
ifeq (,$(shell command -v gcloud))
REGISTRY ?= gcr.io/$(shell gcloud config get-value project)
else
REGISTRY ?= localhost:5000
endif
STAGING_REGISTRY := gcr.io/k8s-staging-cluster-api-azure
PROD_REGISTRY := registry.k8s.io/cluster-api-azure
IMAGE_NAME ?= cluster-api-azure-controller
Expand Down

0 comments on commit a050247

Please sign in to comment.