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