From 5f8a40d39239a6dc6dc0db87138e94e7d8aa63dd 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 f32ef3248951ca383db6dfd5e3f4f41e9c4ac0d7 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 bba7213128883d5b6f4df0d442309173650fb48e 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