From c791e86b8b8145da12f153096f6f30a7b365cc07 Mon Sep 17 00:00:00 2001 From: Kevin Veen-Birkenbach Date: Thu, 17 Jul 2025 07:46:39 +0200 Subject: [PATCH] Solved discourse variable bug --- roles/web-app-moodle/templates/Dockerfile.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/web-app-moodle/templates/Dockerfile.j2 b/roles/web-app-moodle/templates/Dockerfile.j2 index d53971f5..8e9ca0c1 100644 --- a/roles/web-app-moodle/templates/Dockerfile.j2 +++ b/roles/web-app-moodle/templates/Dockerfile.j2 @@ -4,7 +4,7 @@ FROM {{ moodle_image }}:{{ moodle_version }} RUN install_packages unzip curl jq \ && VERSION=$(curl -s https://api.github.com/repos/microsoft/moodle-auth_oidc/tags \ | jq -r '.[].name' \ - | grep v{{ applications | get_app_conf(application_id, 'version', True) }} \ + | grep v{{ moodle_version }} \ | sort -Vr \ | head -n1) \ && echo "Using version $VERSION" \