mirror of
https://github.com/yeslayla/butler-publish-itchio-action.git
synced 2025-01-13 12:33:27 +01:00
Merge pull request #4 from skarnl/feature/fix-butler-download-url
Fix butler download url
This commit is contained in:
commit
49e6220958
11
Dockerfile
11
Dockerfile
@ -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"]
|
||||
|
Loading…
Reference in New Issue
Block a user