From 729984cec2ad3867ba2d6ce3b79a51dd11fa5e9e Mon Sep 17 00:00:00 2001 From: Tony Li Date: Thu, 16 Feb 2017 14:49:35 -0800 Subject: [PATCH 1/3] update makefile docker command --- controllers/gce/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/gce/Makefile b/controllers/gce/Makefile index 10ca7ca6e..d908af0cf 100644 --- a/controllers/gce/Makefile +++ b/controllers/gce/Makefile @@ -11,7 +11,7 @@ container: server docker build --pull -t $(PREFIX):$(TAG) . push: container - gcloud docker push $(PREFIX):$(TAG) + gcloud docker -- push $(PREFIX):$(TAG) clean: rm -f glbc From 807bc07a1613805e07b80dda5f67a16499137480 Mon Sep 17 00:00:00 2001 From: Tony Li Date: Thu, 16 Feb 2017 17:12:33 -0800 Subject: [PATCH 2/3] do the same for nginx --- controllers/nginx/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/nginx/Makefile b/controllers/nginx/Makefile index 8878ecb4f..1f98d5492 100644 --- a/controllers/nginx/Makefile +++ b/controllers/nginx/Makefile @@ -24,7 +24,7 @@ container: build docker build --pull -t $(PREFIX):$(RELEASE) rootfs push: container - gcloud docker push $(PREFIX):$(RELEASE) + gcloud docker -- push $(PREFIX):$(RELEASE) fmt: @echo "+ $@" From d5331d39462382bd0406b1eb4eba4bf058db86a3 Mon Sep 17 00:00:00 2001 From: Tony Li Date: Thu, 16 Feb 2017 17:13:36 -0800 Subject: [PATCH 3/3] do the same for other makefiles --- examples/custom-controller/Makefile | 2 +- images/nginx-slim/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/custom-controller/Makefile b/examples/custom-controller/Makefile index a66cf01f6..2e6783689 100644 --- a/examples/custom-controller/Makefile +++ b/examples/custom-controller/Makefile @@ -32,7 +32,7 @@ container: server docker build --pull -t $(PREFIX)-$(ARCH):$(TAG) . push: container - gcloud docker push $(PREFIX)-$(ARCH):$(TAG) + gcloud docker -- push $(PREFIX)-$(ARCH):$(TAG) clean: rm -f server diff --git a/images/nginx-slim/Makefile b/images/nginx-slim/Makefile index 2c783c60d..1f9cbd939 100644 --- a/images/nginx-slim/Makefile +++ b/images/nginx-slim/Makefile @@ -8,7 +8,7 @@ container: docker build --pull -t $(PREFIX):$(TAG) . push: container - gcloud docker push $(PREFIX):$(TAG) + gcloud docker -- push $(PREFIX):$(TAG) clean: docker rmi -f $(PREFIX):$(TAG) || true