Merge pull request #4 from skarnl/feature/fix-butler-download-url

Fix butler download url
This commit is contained in:
Layla 2020-06-11 11:13:56 -04:00 committed by GitHub
commit 49e6220958
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,12 +5,15 @@ LABEL "com.github.actions.description"="Publishes releases to Itch.io using Butl
LABEL "com.github.actions.icon"="upload"
LABEL "com.github.actions.color"="white"
RUN dnf install unzip -y
# Install Butler
ADD https://dl.itch.ovh/butler/linux-amd64/head/butler /usr/bin/
RUN chmod +x /usr/bin/butler
RUN butler upgrade --assume-yes
RUN curl -L -o butler.zip https://broth.itch.ovh/butler/linux-amd64/LATEST/archive/default \
&& unzip butler.zip \
&& cp butler /usr/bin \
&& chmod +x /usr/bin/butler
# Run butler push
ADD entrypoint.sh /entrypoint.sh
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]