mirror of
https://github.com/Websoft9/websoft9.git
synced 2025-01-23 09:20:20 +08:00
Update containers_version.sh
This commit is contained in:
parent
5073afe084
commit
214399b6e8
@ -25,8 +25,8 @@ for appinfo in $(docker ps --format '{{.Names}}%{{.Image}}'); do
|
||||
fi
|
||||
if [[ $containername == $appname ]];then
|
||||
echo "$containername容器匹配成功app:$appname"
|
||||
appnames=(${appnames[*]/$appname})
|
||||
initdata="$initdata $appname"
|
||||
appnames=(${appnames[*]/$appname})
|
||||
initdata="$initdata $appname"
|
||||
wget -O /tmp/$appname_get_version.sh https://raw.githubusercontent.com/Websoft9/docker-$appname/main/src/get_version.sh
|
||||
bash /tmp/$appname_get_version.sh $containername
|
||||
break
|
||||
|
Loading…
Reference in New Issue
Block a user