feat: implement docker profiles for gatekeeper and isolate environments
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 8s
Build & Deploy / 🧪 QA (push) Successful in 1m21s
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
Build & Deploy / 🏗️ Build (push) Has been cancelled

This commit is contained in:
2026-02-11 18:44:47 +01:00
parent 81f0dd88a6
commit c7807610f6

View File

@@ -264,6 +264,7 @@ jobs:
PROJECT_NAME=$PROJECT_NAME
TRAEFIK_HOST_RULE='$TRAEFIK_RULE'
ENV_FILE=$ENV_FILE
COMPOSE_PROFILES=$COMPOSE_PROFILES
EOF
# Middleware Selection Logic
@@ -273,8 +274,10 @@ jobs:
if [[ "$TARGET" == "production" ]]; then
printf "AUTH_MIDDLEWARE=%s\n" "$STD_MW" >> .env.deploy
COMPOSE_PROFILES=""
else
printf "AUTH_MIDDLEWARE=%s\n" "${PROJECT_NAME}-auth,$STD_MW" >> .env.deploy
COMPOSE_PROFILES="gatekeeper"
fi
printf "AUTH_MIDDLEWARE_UNPROTECTED=%s\n" "$STD_MW" >> .env.deploy