add -- to gcloud CLI

This commit is contained in:
Tim Hockin 2018-02-06 21:12:14 -08:00
parent af91ea2d3f
commit 802aa4604d
1 changed files with 2 additions and 2 deletions

View File

@ -122,10 +122,10 @@ container-name:
push: .push-$(DOTFILE_IMAGE) push-name push: .push-$(DOTFILE_IMAGE) push-name
.push-$(DOTFILE_IMAGE): .container-$(DOTFILE_IMAGE) .push-$(DOTFILE_IMAGE): .container-$(DOTFILE_IMAGE)
@gcloud docker push $(IMAGE):$(VERSION) @gcloud docker -- push $(IMAGE):$(VERSION)
@docker images -q $(IMAGE):$(VERSION) > $@ @docker images -q $(IMAGE):$(VERSION) > $@
@if [ "$(ARCH)" = "amd64" ]; then \ @if [ "$(ARCH)" = "amd64" ]; then \
gcloud docker push $(LEGACY_IMAGE):$(VERSION); \ gcloud docker -- push $(LEGACY_IMAGE):$(VERSION); \
fi fi
push-name: push-name: