#258 Use "gcloud" for the Docker push to the gcr repo

This commit is contained in:
Andrew Lee Rubinger
2016-03-27 00:01:29 -04:00
parent d3cd373942
commit 1c14eb9c3b
+1 -1
View File
@@ -275,7 +275,7 @@ We can now build and publish a new container image to the registry with an incre
```shell ```shell
docker build -t gcr.io/PROJECT_ID/hello-node:v2 . docker build -t gcr.io/PROJECT_ID/hello-node:v2 .
docker push gcr.io/PROJECT_ID/hello-node:v2 gcloud docker push gcr.io/PROJECT_ID/hello-node:v2
``` ```
Building and pushing this updated image should be much quicker as we take full advantage of the Docker cache. Building and pushing this updated image should be much quicker as we take full advantage of the Docker cache.