mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-07-18 14:34:24 +02:00
Solved discourse variable bug
This commit is contained in:
parent
d222b55f30
commit
c791e86b8b
@ -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" \
|
||||
|
Loading…
x
Reference in New Issue
Block a user