From c5b5e1f28e3e4fbf8f78472a6b21c173473d78c4 Mon Sep 17 00:00:00 2001 From: Mike Danese Date: Tue, 12 Jul 2016 13:42:50 -0700 Subject: [PATCH] fix image staging to non gcr.io repos --- cluster/common.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cluster/common.sh b/cluster/common.sh index 6f60424c55a..abc6701b0b4 100755 --- a/cluster/common.sh +++ b/cluster/common.sh @@ -444,6 +444,8 @@ function stage-images() { if [[ "${KUBE_DOCKER_REGISTRY}" == "gcr.io/"* ]]; then local docker_push_cmd=("gcloud" "docker") + else + local docker_push_cmd=("${docker_cmd[@]}") fi local temp_dir="$(mktemp -d -t 'kube-server-XXXX')"