Merge pull request #432 from asenchi/fix-docker-push
Remove deprecated method for pushing images to GCRpull/435/head
commit
5d7e467794
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:
|
||||
|
|
Loading…
Reference in New Issue