ai/at
1
0

fix install.zsh

This commit is contained in:
2025-12-10 15:33:03 +09:00
parent e53fbba3bf
commit 14c05a7fe2

View File

@@ -340,6 +340,9 @@ function at-repos-build-docker-atproto() {
for ((i=1; i<=${#services}; i++)); do
service=${services[$i]}
docker compose build --no-cache $service
if [ "$service" = "ozone" ]; then
docker compose build --no-cache ${service}-web
fi
done
else
docker compose build --no-cache $1
@@ -361,12 +364,11 @@ 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
if [ "$service" = "ozone" ]; then
docker tag at-${service}-web:latest localhost:${dport}/${service}-web:latest
docker push localhost:${dport}/${service}-web:latest
fi