ci: release tag: fix test docker compose project name (cherry-pick #24583 to main) (#24584)

Co-authored-by: Marc 'risson' Schmitt <marc.schmitt@risson.space>
Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space>
This commit is contained in:
authentik-cherry-pick[bot]
2026-07-31 16:45:55 +00:00
committed by GitHub
parent 8638c98764
commit 77d7857302
2 changed files with 2 additions and 1 deletions

View File

@@ -240,6 +240,7 @@ jobs:
ref: "${{ needs.bump-version.outputs.release-commit }}"
- name: Run test in Docker
env:
COMPOSE_PROJECT_NAME: authentik-release-test
AUTHENTIK_IMAGE: authentik.invalid/goauthentik/server
AUTHENTIK_TAG: "${{ needs.check-inputs.outputs.version }}"
run: ./scripts/test_docker.sh

View File

@@ -12,7 +12,7 @@ fi
echo PG_PASS="$(openssl rand -base64 36 | tr -d '\n')" >lifecycle/container/.env
echo AUTHENTIK_SECRET_KEY="$(openssl rand -base64 60 | tr -d '\n')" >>lifecycle/container/.env
export COMPOSE_PROJECT_NAME="authentik-test-${AUTHENTIK_TAG}"
export COMPOSE_PROJECT_NAME="${COMPOSE_PROJECT_NAME:-authentik-test-${AUTHENTIK_TAG}}"
if [[ -v BUILD ]]; then
echo AUTHENTIK_IMAGE="${AUTHENTIK_IMAGE}" >>lifecycle/container/.env