Update gcloud docker commands to use gcloud docker -- ARGS

We can then avoid the following warning:
```
WARNING: The '--' argument must be specified between gcloud specific args on the left and DOCKER_ARGS on the right. IMPORTANT: previously, commands allowed the omission of the --, and unparsed arguments were treated as implementation args. This usage is being deprecated and will be removed in March 2017.
This will be strictly enforced in March 2017. Use 'gcloud beta docker' to see new behavior.
```

Signed-off-by: Jess Frazelle <acidburn@google.com>
This commit is contained in:
Jess Frazelle
2016-10-10 13:42:29 -07:00
parent c2027108cd
commit cde5559d09
48 changed files with 68 additions and 68 deletions

View File

@@ -22,7 +22,7 @@ build: elasticsearch_logging_discovery
docker build -t gcr.io/google_containers/elasticsearch:$(TAG) .
push:
gcloud docker push gcr.io/google_containers/elasticsearch:$(TAG)
gcloud docker -- push gcr.io/google_containers/elasticsearch:$(TAG)
elasticsearch_logging_discovery:
go build elasticsearch_logging_discovery.go

View File

@@ -17,8 +17,8 @@
IMAGE = fluentd-elasticsearch
TAG = 1.19
build:
build:
docker build -t gcr.io/google_containers/$(IMAGE):$(TAG) .
push:
gcloud docker --server=gcr.io push gcr.io/google_containers/$(IMAGE):$(TAG)
push:
gcloud docker --server=gcr.io -- push gcr.io/google_containers/$(IMAGE):$(TAG)

View File

@@ -20,4 +20,4 @@ build:
docker build -t gcr.io/google_containers/kibana:$(TAG) .
push:
gcloud docker push gcr.io/google_containers/kibana:$(TAG)
gcloud docker -- push gcr.io/google_containers/kibana:$(TAG)