images/actions/godot/Dockerfile aktualisiert

This commit is contained in:
Snoweuph 2024-05-09 21:57:36 +00:00
parent 932d18870d
commit b072fa88b9

View file

@ -2,7 +2,7 @@ FROM git.euph.dev/actions/runner-csharp:latest
ARG PACKAGE_VERSION ARG PACKAGE_VERSION
RUN if [[ "$PACKAGE_VERSION" == "latest" ]] ; then \ RUN if [[ "$PACKAGE_VERSION" != "latest" ]] ; then \
wget $( \ wget $( \
curl -s https://api.github.com/repos/godotengine/godot/releases/tags/$PACKAGE_VERSION-stable \ curl -s https://api.github.com/repos/godotengine/godot/releases/tags/$PACKAGE_VERSION-stable \
| grep "browser_download_url.*Godot_v.*-stable_mono_linux_x86_64.zip" \ | grep "browser_download_url.*Godot_v.*-stable_mono_linux_x86_64.zip" \