diff --git a/Dockerfile b/Dockerfile index 17485e5..17b6925 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,12 +4,12 @@ RUN mkdir /config RUN apt-get update && apt-get install -y jq # Fetch the version string and set it as an environment variable -RUN VERSION=$(wget -q -O - https://api.github.com/repos/jagrosh/MusicBot/releases/latest | jq -r '.tag_name') && \ +RUN VERSION=$(wget -q -O - https://api.github.com/repos/SeVile/MusicBot/releases/latest | jq -r '.tag_name') && \ echo "VERSION=$VERSION" > /tmp/version.env # Load the version variable into the environment RUN . /tmp/version.env && \ - wget -q -O - https://api.github.com/repos/jagrosh/MusicBot/releases/latest | jq -r '.assets[] | select(.name | contains("jar")) | .browser_download_url' | xargs wget -O JMusicBot.jar + wget -q -O - https://api.github.com/repos/SeVile/MusicBot/releases/latest | jq -r '.assets[] | select(.name | contains("jar")) | .browser_download_url' | xargs wget -O JMusicBot.jar # Use ARG to make the version available at build time ARG VERSION