mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
fix image staging to non gcr.io repos
This commit is contained in:
parent
d4df168186
commit
c5b5e1f28e
@ -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')"
|
||||
|
Loading…
Reference in New Issue
Block a user