From bbd6a986bc59c81b5a5d25b1a57706c30d10c111 Mon Sep 17 00:00:00 2001 From: ibuler Date: Fri, 20 Dec 2024 16:07:40 +0800 Subject: [PATCH] perf: update images pull from aliyun mirror --- scripts/utils.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/utils.sh b/scripts/utils.sh index fdc3aec..b90985f 100644 --- a/scripts/utils.sh +++ b/scripts/utils.sh @@ -661,7 +661,10 @@ function pull_image() { fi fi - docker pull "${pull_args}" "${full_image_path}" + if [[ "${full_image_path}" != "${image}" ]]; then + echo " -> [${full_image_path}]" + fi + docker pull ${pull_args} "${full_image_path}" if [[ "${full_image_path}" != "${image}" ]]; then docker tag "${full_image_path}" "${image}" docker rmi -f "${full_image_path}"