mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-01-07 22:05:25 +00:00
Merge pull request #432 from asenchi/fix-docker-push
Remove deprecated method for pushing images to GCR
This commit is contained in:
4
Makefile
4
Makefile
@@ -120,11 +120,7 @@ container-name:
|
||||
|
||||
push: .push-$(DOTFILE_IMAGE) push-name
|
||||
.push-$(DOTFILE_IMAGE): .container-$(DOTFILE_IMAGE)
|
||||
ifeq ($(findstring gcr.io,$(REGISTRY)),gcr.io)
|
||||
@gcloud docker -- push $(IMAGE):$(VERSION)
|
||||
else
|
||||
@docker push $(IMAGE):$(VERSION)
|
||||
endif
|
||||
@docker images -q $(IMAGE):$(VERSION) > $@
|
||||
|
||||
push-name:
|
||||
|
||||
Reference in New Issue
Block a user