From e4308317da53b3b7eb834b9f84ab0d03130dc4aa Mon Sep 17 00:00:00 2001 From: Dominic R Date: Wed, 8 Apr 2026 05:52:20 -0400 Subject: [PATCH] docs,ci: fix main daily compose downloads + release template (#21448) ci: fix main daily compose downloads --- .github/workflows/ci-main-daily.yml | 10 ++++++++-- website/docs/releases/_template.md | 2 +- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci-main-daily.yml b/.github/workflows/ci-main-daily.yml index cab8db5f56..0ad124293b 100644 --- a/.github/workflows/ci-main-daily.yml +++ b/.github/workflows/ci-main-daily.yml @@ -20,13 +20,19 @@ jobs: version: - docs - version-2025-12 - - version-2025-10 + - version-2026-2 steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v5 - run: | + set -euo pipefail current="$(pwd)" dir="/tmp/authentik/${{ matrix.version }}" + # 2025.12 still serves the legacy docker-compose filename; newer sites use compose.yml. + compose_path="compose.yml" + if [ "${{ matrix.version }}" = "version-2025-12" ]; then + compose_path="docker-compose.yml" + fi mkdir -p "${dir}/lifecycle/container" cd "${dir}" - wget "https://${{ matrix.version }}.goauthentik.io/docker-compose.yml" -O "${dir}/lifecycle/container/compose.yml" + wget "https://${{ matrix.version }}.goauthentik.io/${compose_path}" -O "${dir}/lifecycle/container/compose.yml" "${current}/scripts/test_docker.sh" diff --git a/website/docs/releases/_template.md b/website/docs/releases/_template.md index 9b89339c33..44e40b753f 100644 --- a/website/docs/releases/_template.md +++ b/website/docs/releases/_template.md @@ -22,7 +22,7 @@ When you upgrade, be aware that the version of the authentik instance and of any To upgrade, download the new docker-compose file and update the Docker stack with the new version, using these commands: ```shell -wget -O docker-compose.yml https://goauthentik.io/version/xxxx.x/lifecycle/container/docker-compose.yml +wget -O docker-compose.yml https://goauthentik.io/version/xxxx.x/lifecycle/container/compose.yml docker compose up -d ```