mirror of
https://github.com/yeslayla/butler-publish-itchio-action.git
synced 2025-01-14 04:53:25 +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.icon"="upload"
|
||||||
LABEL "com.github.actions.color"="white"
|
LABEL "com.github.actions.color"="white"
|
||||||
|
|
||||||
|
RUN dnf install unzip -y
|
||||||
|
|
||||||
# Install Butler
|
# Install Butler
|
||||||
ADD https://dl.itch.ovh/butler/linux-amd64/head/butler /usr/bin/
|
RUN curl -L -o butler.zip https://broth.itch.ovh/butler/linux-amd64/LATEST/archive/default \
|
||||||
RUN chmod +x /usr/bin/butler
|
&& unzip butler.zip \
|
||||||
RUN butler upgrade --assume-yes
|
&& cp butler /usr/bin \
|
||||||
|
&& chmod +x /usr/bin/butler
|
||||||
|
|
||||||
# Run butler push
|
# Run butler push
|
||||||
ADD entrypoint.sh /entrypoint.sh
|
COPY entrypoint.sh /entrypoint.sh
|
||||||
RUN chmod +x entrypoint.sh
|
RUN chmod +x entrypoint.sh
|
||||||
ENTRYPOINT ["/entrypoint.sh"]
|
ENTRYPOINT ["/entrypoint.sh"]
|
||||||
|
Loading…
Reference in New Issue
Block a user