Solved discourse variable bug

This commit is contained in:
Kevin Veen-Birkenbach 2025-07-17 07:46:39 +02:00
parent d222b55f30
commit c791e86b8b
No known key found for this signature in database
GPG Key ID: 44D8F11FD62F878E

View File

@ -4,7 +4,7 @@ FROM {{ moodle_image }}:{{ moodle_version }}
RUN install_packages unzip curl jq \ RUN install_packages unzip curl jq \
&& VERSION=$(curl -s https://api.github.com/repos/microsoft/moodle-auth_oidc/tags \ && VERSION=$(curl -s https://api.github.com/repos/microsoft/moodle-auth_oidc/tags \
| jq -r '.[].name' \ | jq -r '.[].name' \
| grep v{{ applications | get_app_conf(application_id, 'version', True) }} \ | grep v{{ moodle_version }} \
| sort -Vr \ | sort -Vr \
| head -n1) \ | head -n1) \
&& echo "Using version $VERSION" \ && echo "Using version $VERSION" \