Revert "Upload Velero build package saved from build image to Google cloud storage"

This reverts commit 0b6df61eca.
This commit is contained in:
Lyndon-Li
2024-11-19 19:15:41 +08:00
parent 7cc0c99a08
commit cc47be933d
4 changed files with 2 additions and 37 deletions

View File

@@ -66,7 +66,6 @@ VERSION ?= main
TAG_LATEST ?= false
SAVE_IMAGE ?= true
ifeq ($(TAG_LATEST), true)
IMAGE_TAGS ?= $(IMAGE):$(VERSION) $(IMAGE):latest
GCR_IMAGE_TAGS ?= $(GCR_IMAGE):$(VERSION) $(GCR_IMAGE):latest
@@ -214,11 +213,6 @@ endif
--build-arg=RESTIC_VERSION=$(RESTIC_VERSION) \
-f $(VELERO_DOCKERFILE) .
@echo "container: $(IMAGE):$(VERSION)"
ifeq ($(SAVE_IMAGE), true)
@docker pull $(IMAGE):$(VERSION)
@docker save $(IMAGE):$(VERSION) -o $(BIN)-$(VERSION).tar
@gzip $(BIN)-$(VERSION).tar
endif
SKIP_TESTS ?=
test: build-dirs