This commit is contained in:
ByeonJungHun
2023-07-13 16:17:15 +09:00
parent c695de6940
commit 5812e10973
4 changed files with 22 additions and 3 deletions

4
rel.sh
View File

@@ -1,7 +1,7 @@
#!/bin/bash
# 이미지 리스트
images_list="./imageslist"
images_list="/Users/byeonjunghun/Documents/script/imageslist"
# repo
nexus="10.10.31.243:5000"
@@ -41,7 +41,7 @@ while IFS= read -r image_name; do
docker tag ${nexus}/cmoa/${image_name}:${version} ${dkrepo}/${image_name}:${version}
echo -e "\n\033[93${image_name}:${version} push!\n\033[0m"
ddocker push ${dkrepo}/${image_name}:${version}
docker push ${dkrepo}/${image_name}:${version}
done <"${images_list}"