ai/at
1
0

fix install.zsh

This commit is contained in:
2025-12-10 15:33:03 +09:00
parent d4473ca84f
commit c99a14b7a6

View File

@@ -361,19 +361,18 @@ function at-repos-push-reset() {
}
function at-repos-push-docker() {
if [ -z "$1" ];then
for ((i=1; i<=${#services}; i++)); do
service=${services[$i]}
if [ -z "$1" ] || [ "$1" = "push" ]; then
for service in "${services[@]}"; do
docker tag at-${service}:latest localhost:${dport}/${service}:latest
docker push localhost:${dport}/${service}:latest
if [ "$service" == "ozone" ];then
docker tag at-${service}-web:latest localhost:${dport}/${service}-web:latest
docker push localhost:${dport}/${service}-web:latest
if [ "$service" = "ozone" ]; then
docker tag at-"${service}"-web:latest localhost:"${dport}"/"${service}"-web:latest
docker push localhost:"${dport}"/"${service}"-web:latest
fi
done
else
docker tag at-${1}:latest localhost:${dport}/${1}:latest
docker push localhost:${dport}/${1}:latest
docker tag at-"${1}":latest localhost:"${dport}"/"${1}":latest
docker push localhost:"${dport}"/"${1}":latest
fi
}