From 2469a5a8b86f35425859a0bac5b14f91522d0f90 Mon Sep 17 00:00:00 2001 From: qiaofeng1227 <76487013@qq.com> Date: Fri, 15 Jul 2022 16:51:06 +0800 Subject: [PATCH] Update containers_version.sh --- scripts/containers_version.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/containers_version.sh b/scripts/containers_version.sh index d3a6caad..c133f54d 100644 --- a/scripts/containers_version.sh +++ b/scripts/containers_version.sh @@ -16,11 +16,15 @@ for appname in $appnames; do if [[ $containername == $appname ]];then echo "$containername容器匹配成功app:$appname" + wget -O /tmp/$appname_get_version.sh https://raw.githubusercontent.com/Websoft9/StackHub/main/scripts/containers_version.sh + bash /tmp/$appname_get_version.sh $containername break elif [[ $imagename =~ $appname ]];then tmpvar="-" if [[ $containername =~ $tmpvar ]];then echo "$imagename=镜像匹配成功app:$appname" + wget -O /tmp/$appname_get_version.sh https://raw.githubusercontent.com/Websoft9/StackHub/main/scripts/containers_version.sh + bash /tmp/$appname_get_version.sh $containername break else echo "need other mothod "