From 429eea9b6d2fc983efc653b610e8cce5a3899bfb Mon Sep 17 00:00:00 2001 From: Oskar van Velden Date: Thu, 11 Jun 2020 00:46:26 +0200 Subject: [PATCH 1/2] FIx issue with old Butler download There was an old reference to the Butler download. Also fixed --- Dockerfile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3fd30d0..86dba8e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,11 +6,12 @@ LABEL "com.github.actions.icon"="upload" LABEL "com.github.actions.color"="white" # 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"] From b1f7d404eb71c32cb54e13480035af5f4c3fcf02 Mon Sep 17 00:00:00 2001 From: Oskar van Velden Date: Thu, 11 Jun 2020 09:22:48 +0200 Subject: [PATCH 2/2] Install unzip --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 86dba8e..98c85d4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,6 +5,8 @@ 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 RUN curl -L -o butler.zip https://broth.itch.ovh/butler/linux-amd64/LATEST/archive/default \ && unzip butler.zip \