Update pull-k8s-image.sh

This commit is contained in:
liuxuewen 2022-06-07 20:36:43 +08:00 committed by GitHub
parent d8bcab16bc
commit 6a63ddefdc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -12,8 +12,8 @@ if [ -x "$(command -v docker)" ]; then
fi
if [ -x "$(command -v ctr)" ]; then
sudo ctr image pull docker.io/${mirror_img}
sudo ctr image tag docker.io/${mirror_img} ${k8s_img}
sudo ctr -n k8s.io image pull docker.io/${mirror_img}
sudo ctr -n k8s.io image tag docker.io/${mirror_img} ${k8s_img}
exit 0
fi