Skip to content

Commit 49e6220

Browse files
authored
Merge pull request #4 from skarnl/feature/fix-butler-download-url
Fix butler download url
2 parents 53fdf15 + b1f7d40 commit 49e6220

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

Dockerfile

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,15 @@ LABEL "com.github.actions.description"="Publishes releases to Itch.io using Butl
55
LABEL "com.github.actions.icon"="upload"
66
LABEL "com.github.actions.color"="white"
77

8+
RUN dnf install unzip -y
9+
810
# Install Butler
9-
ADD https://dl.itch.ovh/butler/linux-amd64/head/butler /usr/bin/
10-
RUN chmod +x /usr/bin/butler
11-
RUN butler upgrade --assume-yes
11+
RUN curl -L -o butler.zip https://broth.itch.ovh/butler/linux-amd64/LATEST/archive/default \
12+
&& unzip butler.zip \
13+
&& cp butler /usr/bin \
14+
&& chmod +x /usr/bin/butler
1215

1316
# Run butler push
14-
ADD entrypoint.sh /entrypoint.sh
17+
COPY entrypoint.sh /entrypoint.sh
1518
RUN chmod +x entrypoint.sh
1619
ENTRYPOINT ["/entrypoint.sh"]

0 commit comments

Comments
 (0)