From 23199a6888197ae63e3c5045dbefa9069ca892b6 Mon Sep 17 00:00:00 2001 From: Troy Date: Mon, 20 Jan 2025 22:11:44 -0500 Subject: [PATCH] Update Dockerfile --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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