diff --git a/build/pause/Makefile b/build/pause/Makefile index a968ebb519a58..ee63e6519630f 100644 --- a/build/pause/Makefile +++ b/build/pause/Makefile @@ -8,6 +8,6 @@ build: docker build -t gcr.io/google_containers/$(IMAGE):$(TAG) . push: build - gcloud preview docker push gcr.io/google_containers/$(IMAGE):$(TAG) + gcloud docker push gcr.io/google_containers/$(IMAGE):$(TAG) all: push diff --git a/cluster/addons/dns/kube2sky/Makefile b/cluster/addons/dns/kube2sky/Makefile index 7f4b7f4459166..bbf5c69227038 100644 --- a/cluster/addons/dns/kube2sky/Makefile +++ b/cluster/addons/dns/kube2sky/Makefile @@ -16,7 +16,7 @@ container: kube2sky docker build -t $(PREFIX)/kube2sky:$(TAG) . push: - gcloud preview docker push $(PREFIX)/kube2sky:$(TAG) + gcloud docker push $(PREFIX)/kube2sky:$(TAG) clean: rm -f kube2sky diff --git a/cluster/addons/dns/skydns/Makefile b/cluster/addons/dns/skydns/Makefile index 5179288182039..6e7cb882b4dbd 100644 --- a/cluster/addons/dns/skydns/Makefile +++ b/cluster/addons/dns/skydns/Makefile @@ -7,7 +7,7 @@ container: skydns sudo docker build -t gcr.io/google_containers/skydns . push: - sudo gcloud preview docker push gcr.io/google_containers/skydns + sudo gcloud docker push gcr.io/google_containers/skydns clean: rm -f skydns diff --git a/cluster/addons/fluentd-elasticsearch/es-image/Makefile b/cluster/addons/fluentd-elasticsearch/es-image/Makefile index 2d4e5df6126c4..50bd7c4933a80 100755 --- a/cluster/addons/fluentd-elasticsearch/es-image/Makefile +++ b/cluster/addons/fluentd-elasticsearch/es-image/Makefile @@ -7,7 +7,7 @@ build: elasticsearch_logging_discovery docker build -t gcr.io/google_containers/elasticsearch:$(TAG) . push: - gcloud preview 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 diff --git a/cluster/addons/fluentd-elasticsearch/fluentd-es-image/Makefile b/cluster/addons/fluentd-elasticsearch/fluentd-es-image/Makefile index 8f15b26ac3590..e654cdcdccaf7 100644 --- a/cluster/addons/fluentd-elasticsearch/fluentd-es-image/Makefile +++ b/cluster/addons/fluentd-elasticsearch/fluentd-es-image/Makefile @@ -7,4 +7,4 @@ build: docker build -t gcr.io/google_containers/$(IMAGE):$(TAG) . push: - gcloud preview docker push gcr.io/google_containers/$(IMAGE):$(TAG) + gcloud docker push gcr.io/google_containers/$(IMAGE):$(TAG) diff --git a/cluster/addons/fluentd-elasticsearch/kibana-image/Makefile b/cluster/addons/fluentd-elasticsearch/kibana-image/Makefile index 63de25f72fef0..7e26ce6d241d4 100755 --- a/cluster/addons/fluentd-elasticsearch/kibana-image/Makefile +++ b/cluster/addons/fluentd-elasticsearch/kibana-image/Makefile @@ -6,4 +6,4 @@ build: docker build -t gcr.io/google_containers/kibana:$(TAG) . push: - gcloud preview docker push gcr.io/google_containers/kibana:$(TAG) + gcloud docker push gcr.io/google_containers/kibana:$(TAG) diff --git a/cluster/addons/fluentd-gcp/fluentd-gcp-image/Makefile b/cluster/addons/fluentd-gcp/fluentd-gcp-image/Makefile index 1326b8610de4f..19d5ea704aee1 100644 --- a/cluster/addons/fluentd-gcp/fluentd-gcp-image/Makefile +++ b/cluster/addons/fluentd-gcp/fluentd-gcp-image/Makefile @@ -34,4 +34,4 @@ build: push: - gcloud preview docker push gcr.io/google_containers/fluentd-gcp:$(TAG) + gcloud docker push gcr.io/google_containers/fluentd-gcp:$(TAG) diff --git a/cluster/images/etcd/Makefile b/cluster/images/etcd/Makefile index 3e614a6082101..6e92037669b38 100644 --- a/cluster/images/etcd/Makefile +++ b/cluster/images/etcd/Makefile @@ -16,6 +16,6 @@ build: clean docker build -t gcr.io/google_containers/$(IMAGE):$(TAG) . push: build - gcloud preview docker push gcr.io/google_containers/$(IMAGE):$(TAG) + gcloud docker push gcr.io/google_containers/$(IMAGE):$(TAG) all: push diff --git a/cluster/images/hyperkube/Makefile b/cluster/images/hyperkube/Makefile index 252c1bf1aa68c..a7c64fbcc4c11 100644 --- a/cluster/images/hyperkube/Makefile +++ b/cluster/images/hyperkube/Makefile @@ -7,6 +7,6 @@ all: curl -O https://storage.googleapis.com/kubernetes-release/release/${VERSION}/bin/linux/amd64/hyperkube sed -i "s/VERSION/${VERSION}/g" master-multi.json master.json docker build -t gcr.io/google_containers/hyperkube:${VERSION} . - gcloud preview docker push gcr.io/google_containers/hyperkube:${VERSION} + gcloud docker push gcr.io/google_containers/hyperkube:${VERSION} .PHONY: all diff --git a/cluster/images/kubelet/Makefile b/cluster/images/kubelet/Makefile index 23762da01a145..2a936c1f11fd6 100644 --- a/cluster/images/kubelet/Makefile +++ b/cluster/images/kubelet/Makefile @@ -11,7 +11,7 @@ LOCAL_OUTPUT_DIR=../../../_output/local release: clean curl -O https://storage.googleapis.com/kubernetes-release/release/${VERSION}/${BIN_DIR}/kubelet docker build -t gcr.io/google_containers/kubelet:${VERSION} . - gcloud preview docker push gcr.io/google_containers/kubelet:${VERSION} + gcloud docker push gcr.io/google_containers/kubelet:${VERSION} local: clean cp ${LOCAL_OUTPUT_DIR}/${BIN_DIR}/kubelet . diff --git a/cluster/images/nginx/Makefile b/cluster/images/nginx/Makefile index 9aca17fc6785a..ba787803071e2 100644 --- a/cluster/images/nginx/Makefile +++ b/cluster/images/nginx/Makefile @@ -8,7 +8,7 @@ VERSION=v2 all: docker build -t gcr.io/google_containers/nginx:${VERSION} . - gcloud preview docker push gcr.io/google_containers/nginx:${VERSION} + gcloud docker push gcr.io/google_containers/nginx:${VERSION} .PHONY: all diff --git a/contrib/for-demos/serve_hostname/Makefile b/contrib/for-demos/serve_hostname/Makefile index abf1c8df31715..6fe4b980d20df 100644 --- a/contrib/for-demos/serve_hostname/Makefile +++ b/contrib/for-demos/serve_hostname/Makefile @@ -10,8 +10,8 @@ container: serve_hostname sudo docker tag gcr.io/google_containers/serve_hostname:$(TAG) gcr.io/_b_k8s_authenticated_test/serve_hostname:$(TAG) push: - gcloud preview docker push gcr.io/google_containers/serve_hostname:$(TAG) - gcloud preview docker push gcr.io/_b_k8s_authenticated_test/serve_hostname:$(TAG) + gcloud docker push gcr.io/google_containers/serve_hostname:$(TAG) + gcloud docker push gcr.io/_b_k8s_authenticated_test/serve_hostname:$(TAG) clean: rm -f serve_hostname diff --git a/contrib/for-demos/test-webserver/Makefile b/contrib/for-demos/test-webserver/Makefile index 8edf29c0f7f13..89a39ded529a5 100644 --- a/contrib/for-demos/test-webserver/Makefile +++ b/contrib/for-demos/test-webserver/Makefile @@ -7,7 +7,7 @@ container: test-webserver sudo docker build -t gcr.io/google_containers/test-webserver . push: container - gcloud preview docker push gcr.io/google_containers/test-webserver + gcloud docker push gcr.io/google_containers/test-webserver clean: rm -f test-webserver diff --git a/contrib/for-tests/dnsutils/Makefile b/contrib/for-tests/dnsutils/Makefile index 992669ca7779e..3c871286d2e4e 100644 --- a/contrib/for-tests/dnsutils/Makefile +++ b/contrib/for-tests/dnsutils/Makefile @@ -5,4 +5,4 @@ image: docker build -t gcr.io/google_containers/dnsutils . push: - gcloud preview docker push gcr.io/google_containers/dnsutils + gcloud docker push gcr.io/google_containers/dnsutils diff --git a/contrib/for-tests/mount-tester/Makefile b/contrib/for-tests/mount-tester/Makefile index 97a163df615c0..37d37859068e5 100644 --- a/contrib/for-tests/mount-tester/Makefile +++ b/contrib/for-tests/mount-tester/Makefile @@ -9,7 +9,7 @@ image: mt sudo docker build -t gcr.io/google_containers/mounttest:$(TAG) . push: image - gcloud preview docker push gcr.io/google_containers/mounttest:$(TAG) + gcloud docker push gcr.io/google_containers/mounttest:$(TAG) clean: rm -f mt diff --git a/contrib/for-tests/network-tester/Makefile b/contrib/for-tests/network-tester/Makefile index e456904d60e57..8f64b465eaaa1 100644 --- a/contrib/for-tests/network-tester/Makefile +++ b/contrib/for-tests/network-tester/Makefile @@ -10,7 +10,7 @@ container: webserver docker build -t gcr.io/google_containers/nettest:$(TAG) . push: container - gcloud preview docker push gcr.io/google_containers/nettest:$(TAG) + gcloud docker push gcr.io/google_containers/nettest:$(TAG) clean: rm -f webserver diff --git a/contrib/for-tests/porter/Makefile b/contrib/for-tests/porter/Makefile index 290fb6d7b23ea..0cf8b82618fff 100644 --- a/contrib/for-tests/porter/Makefile +++ b/contrib/for-tests/porter/Makefile @@ -25,7 +25,7 @@ container: push: $(if $(TAG),,$(error TAG is not defined. Use 'make tag' to see a suggestion)) - gcloud preview docker push $(REPO)/porter:$(TAG) + gcloud docker push $(REPO)/porter:$(TAG) clean: rm -f porter diff --git a/contrib/for-tests/volumes-tester/gluster/Makefile b/contrib/for-tests/volumes-tester/gluster/Makefile index ef65e5d7245b5..5c476af6b9b21 100644 --- a/contrib/for-tests/volumes-tester/gluster/Makefile +++ b/contrib/for-tests/volumes-tester/gluster/Makefile @@ -7,7 +7,7 @@ container: docker tag gcr.io/google_containers/volume-gluster gcr.io/google_containers/volume-gluster:$(TAG) # Add the version tag to the latest image push: container - gcloud preview docker push gcr.io/google_containers/volume-gluster # Push image tagged as latest to repository - gcloud preview docker push gcr.io/google_containers/volume-gluster:$(TAG) # Push version tagged image to repository (since this image is already pushed it will simply create or update version tag) + gcloud docker push gcr.io/google_containers/volume-gluster # Push image tagged as latest to repository + gcloud docker push gcr.io/google_containers/volume-gluster:$(TAG) # Push version tagged image to repository (since this image is already pushed it will simply create or update version tag) clean: diff --git a/contrib/for-tests/volumes-tester/nfs/Makefile b/contrib/for-tests/volumes-tester/nfs/Makefile index f479f2862e4d7..8d002509c537f 100644 --- a/contrib/for-tests/volumes-tester/nfs/Makefile +++ b/contrib/for-tests/volumes-tester/nfs/Makefile @@ -7,7 +7,7 @@ container: docker tag gcr.io/google_containers/volume-nfs gcr.io/google_containers/volume-nfs:$(TAG) # Add the version tag to the latest image push: container - gcloud preview docker push gcr.io/google_containers/volume-nfs # Push image tagged as latest to repository - gcloud preview docker push gcr.io/google_containers/volume-nfs:$(TAG) # Push version tagged image to repository (since this image is already pushed it will simply create or update version tag) + gcloud docker push gcr.io/google_containers/volume-nfs # Push image tagged as latest to repository + gcloud docker push gcr.io/google_containers/volume-nfs:$(TAG) # Push version tagged image to repository (since this image is already pushed it will simply create or update version tag) clean: diff --git a/contrib/logging/fluentd-sidecar-es/Makefile b/contrib/logging/fluentd-sidecar-es/Makefile index b9ba48aeeb026..fa12920143c50 100644 --- a/contrib/logging/fluentd-sidecar-es/Makefile +++ b/contrib/logging/fluentd-sidecar-es/Makefile @@ -6,4 +6,4 @@ build: docker build -t gcr.io/google_containers/fluentd-sidecar-es:$(TAG) . push: - gcloud preview docker push gcr.io/google_containers/fluentd-sidecar-es:$(TAG) + gcloud docker push gcr.io/google_containers/fluentd-sidecar-es:$(TAG) diff --git a/contrib/logging/fluentd-sidecar-gcp/Makefile b/contrib/logging/fluentd-sidecar-gcp/Makefile index afab501dc00c5..e7730a9cb9c90 100644 --- a/contrib/logging/fluentd-sidecar-gcp/Makefile +++ b/contrib/logging/fluentd-sidecar-gcp/Makefile @@ -6,4 +6,4 @@ build: docker build -t gcr.io/google_containers/fluentd-sidecar-gcp:$(TAG) . push: - gcloud preview docker push gcr.io/google_containers/fluentd-sidecar-gcp:$(TAG) + gcloud docker push gcr.io/google_containers/fluentd-sidecar-gcp:$(TAG) diff --git a/contrib/pod-master/Makefile b/contrib/pod-master/Makefile index 1be9f689be4b5..f1a73d366a347 100644 --- a/contrib/pod-master/Makefile +++ b/contrib/pod-master/Makefile @@ -15,7 +15,7 @@ container: podmaster docker build -t gcr.io/google_containers/podmaster:$(TAG) . push: container - gcloud preview docker push gcr.io/google_containers/podmaster:$(TAG) + gcloud docker push gcr.io/google_containers/podmaster:$(TAG) clean: rm -f podmaster diff --git a/examples/environment-guide/containers/README.md b/examples/environment-guide/containers/README.md index 2e08760ce14b8..01085e971dd7d 100644 --- a/examples/environment-guide/containers/README.md +++ b/examples/environment-guide/containers/README.md @@ -7,7 +7,7 @@ backend container. GCR --- docker build -t gcr.io//show . - gcloud preview docker push gcr.io//show + gcloud docker push gcr.io//show Docker Hub ---------- diff --git a/examples/explorer/Makefile b/examples/explorer/Makefile index bbccac4e36bf2..ccbd90d75bb94 100644 --- a/examples/explorer/Makefile +++ b/examples/explorer/Makefile @@ -10,7 +10,7 @@ container: explorer docker build -t gcr.io/google_containers/explorer:$(TAG) . push: container - gcloud preview docker push gcr.io/google_containers/explorer:$(TAG) + gcloud docker push gcr.io/google_containers/explorer:$(TAG) clean: rm -f explorer diff --git a/examples/kubectl-container/Makefile b/examples/kubectl-container/Makefile index b13b09d2ec403..8622f1140f84e 100644 --- a/examples/kubectl-container/Makefile +++ b/examples/kubectl-container/Makefile @@ -23,7 +23,7 @@ container: push: container $(if $(TAG),,$(error TAG is not defined. Use 'make tag' to see a suggestion)) - gcloud preview docker push gcr.io/google_containers/kubectl:$(TAG) + gcloud docker push gcr.io/google_containers/kubectl:$(TAG) clean: rm -f kubectl diff --git a/examples/liveness/image/Makefile b/examples/liveness/image/Makefile index c123ac6df9dd7..3eb9f0e2fe131 100644 --- a/examples/liveness/image/Makefile +++ b/examples/liveness/image/Makefile @@ -7,7 +7,7 @@ container: server docker build -t gcr.io/google_containers/liveness . push: container - gcloud preview docker push gcr.io/google_containers/liveness + gcloud docker push gcr.io/google_containers/liveness clean: rm -f server diff --git a/examples/meteor/README.md b/examples/meteor/README.md index c890013dfcf12..0d7aa40b806fc 100644 --- a/examples/meteor/README.md +++ b/examples/meteor/README.md @@ -92,7 +92,7 @@ your app image with your project ID, and push to GCR. Replace `` with your project ID. ``` docker tag my-meteor gcr.io//my-meteor -gcloud preview docker push gcr.io//my-meteor +gcloud docker push gcr.io//my-meteor ``` Running