Fix issues 7

This commit is contained in:
2026-01-23 21:42:31 +01:00
parent e26481e5e8
commit c3defa3a10
7 changed files with 100 additions and 114 deletions

View File

@@ -156,20 +156,19 @@ spec:
# Determine Dockerfile path and image name
# Folder names are: auth, tenant, gateway, frontend, alert_processor, etc.
# Image names should be: auth-service, tenant-service, gateway, dashboard, alert-processor, etc.
# Image names MUST match what's in the Kubernetes manifests exactly
# The manifests use the folder name directly (with underscores preserved)
if [ "$service" = "gateway" ]; then
DOCKERFILE_PATH="$WORKSPACE/gateway/Dockerfile"
IMAGE_NAME="gateway"
elif [ "$service" = "frontend" ]; then
DOCKERFILE_PATH="$WORKSPACE/frontend/Dockerfile.kubernetes"
IMAGE_NAME="dashboard"
elif [ "$service" = "alert_processor" ]; then
DOCKERFILE_PATH="$WORKSPACE/services/$service/Dockerfile"
IMAGE_NAME="alert-processor"
IMAGE_NAME="frontend"
else
DOCKERFILE_PATH="$WORKSPACE/services/$service/Dockerfile"
# Convert folder name to image name: auth -> auth-service, demo_session -> demo-session-service
IMAGE_NAME=$(echo "$service" | sed 's/_/-/g')"-service"
# Use folder name directly - matches manifest image references
# e.g., auth, tenant, ai_insights, alert_processor, demo_session, external
IMAGE_NAME="$service"
fi
# Check if Dockerfile exists