日常修改

This commit is contained in:
zeaslity
2024-11-13 09:51:57 +08:00
parent dcbefdead9
commit 8c34f9018c
15 changed files with 1263 additions and 5 deletions

View File

@@ -138,6 +138,8 @@ ltu(){
echo "offline gzip file is => : $file"
image_full_name=$(docker load -i ${file} | head -n1 |awk -F': ' '{print $2}')
docker login -u admin -p ${HarborAdminPass} ${DockerRegisterDomain}
app_name=$(echo "$image_full_name" | sed 's|.*/||g')
echo "extract short name is $app_name"