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:
@@ -127,7 +127,7 @@ function push() {
|
||||
fi
|
||||
|
||||
kube::log::status "Pushing hyperkube image to the registry"
|
||||
gcloud docker push "${KUBE_REGISTRY}/hyperkube-amd64:${kube_version}"
|
||||
gcloud docker -- push "${KUBE_REGISTRY}/hyperkube-amd64:${kube_version}"
|
||||
|
||||
# Update config after build and push, but before turning up the clusters
|
||||
# to ensure the config has the right image version tags.
|
||||
|
Reference in New Issue
Block a user