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

Remove deprecated method for pushing images to GCR
pull/435/head
Andy Goldstein 2018-04-18 15:37:47 -04:00 committed by GitHub
commit 5d7e467794
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 4 deletions

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: