Add new infra architecture 13
This commit is contained in:
@@ -25,12 +25,12 @@ if ! GITEA_ADMIN_PASSWORD=$(kubectl get secret gitea-admin-secret -n gitea -o js
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Login to Gitea registry
|
||||
# Login to Gitea registry (use external HTTPS URL)
|
||||
echo "Logging in to Gitea registry..."
|
||||
docker login gitea-http.gitea.svc.cluster.local:3000 -u bakery-admin -p "$GITEA_ADMIN_PASSWORD"
|
||||
docker login registry.bakewise.ai -u bakery-admin -p "$GITEA_ADMIN_PASSWORD"
|
||||
|
||||
# Define the registry URL
|
||||
REGISTRY="gitea-http.gitea.svc.cluster.local:3000/bakery-admin"
|
||||
# Define the registry URL (use external HTTPS URL - containerd requires HTTPS for auth)
|
||||
REGISTRY="registry.bakewise.ai/bakery-admin"
|
||||
|
||||
# Define all services to build
|
||||
# Format: "directory_name:image_name"
|
||||
|
||||
@@ -112,7 +112,7 @@ if [ "$ENVIRONMENT" = "prod" ]; then
|
||||
else
|
||||
echo "Error: Could not detect Gitea registry automatically"
|
||||
echo "Please specify the registry with -r/--registry option"
|
||||
echo "Example: $0 -e prod -r gitea-http.gitea.svc.cluster.local:3000"
|
||||
echo "Example: $0 -e prod -r registry.bakewise.ai"
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
@@ -113,7 +113,7 @@ if [ "$ENVIRONMENT" = "prod" ]; then
|
||||
else
|
||||
echo "Error: Could not detect Gitea registry automatically"
|
||||
echo "Please specify the registry with -r/--registry option"
|
||||
echo "Example: $0 -e prod -r gitea-http.gitea.svc.cluster.local:3000"
|
||||
echo "Example: $0 -e prod -r registry.bakewise.ai"
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user