@@ -34,11 +34,9 @@ REGISTRY ?= velero
3434# docker buildx create --name=velero-builder --driver=docker-container --bootstrap --use --config ./buildkitd.toml
3535# Refer to https://github.com/docker/buildx/issues/1370#issuecomment-1288516840 for more details
3636INSECURE_REGISTRY ?= false
37- GCR_REGISTRY ?= gcr.io/velero-gcp
3837
3938# Image name
4039IMAGE ?= $(REGISTRY ) /$(BIN )
41- GCR_IMAGE ?= $(GCR_REGISTRY ) /$(BIN )
4240
4341# We allow the Dockerfile to be configurable to enable the use of custom Dockerfiles
4442# that pull base images from different registries.
@@ -81,10 +79,8 @@ TAG_LATEST ?= false
8179
8280ifeq ($(TAG_LATEST ) , true)
8381 IMAGE_TAGS ?= $(IMAGE):$(VERSION) $(IMAGE):latest
84- GCR_IMAGE_TAGS ?= $(GCR_IMAGE):$(VERSION) $(GCR_IMAGE):latest
8582else
8683 IMAGE_TAGS ?= $(IMAGE):$(VERSION)
87- GCR_IMAGE_TAGS ?= $(GCR_IMAGE):$(VERSION)
8884endif
8985
9086# check buildx is enabled only if docker is in path
@@ -116,7 +112,6 @@ CLI_PLATFORMS ?= linux-amd64 linux-arm linux-arm64 darwin-amd64 darwin-arm64 win
116112BUILD_OUTPUT_TYPE ?= docker
117113BUILD_OS ?= linux
118114BUILD_ARCH ?= amd64
119- BUILD_TAG_GCR ?= false
120115BUILD_WINDOWS_VERSION ?= ltsc2022
121116
122117ifeq ($(BUILD_OUTPUT_TYPE ) , docker)
@@ -134,9 +129,6 @@ ALL_OS_ARCH.windows = $(foreach os, $(filter windows,$(ALL_OS)), $(foreach arch,
134129ALL_OS_ARCH = $(ALL_OS_ARCH.linux )$(ALL_OS_ARCH.windows )
135130
136131ALL_IMAGE_TAGS = $(IMAGE_TAGS )
137- ifeq ($(BUILD_TAG_GCR ) , true)
138- ALL_IMAGE_TAGS += $(GCR_IMAGE_TAGS)
139- endif
140132
141133# set git sha and tree state
142134GIT_SHA = $(shell git rev-parse HEAD)
0 commit comments