Merge pull request #432 from asenchi/fix-docker-push

Remove deprecated method for pushing images to GCR
This commit is contained in:
Andy Goldstein
2018-04-18 15:37:47 -04:00
committed by GitHub

View File

@@ -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: