2022-01-31 23:11:59 +01:00
|
|
|
FROM rockylinux:8
|
2019-12-01 03:58:18 +01:00
|
|
|
|
|
|
|
LABEL "com.github.actions.name"="Butler Push"
|
|
|
|
LABEL "com.github.actions.description"="Publishes releases to Itch.io using Butler"
|
|
|
|
LABEL "com.github.actions.icon"="upload"
|
|
|
|
LABEL "com.github.actions.color"="white"
|
|
|
|
|
2020-06-11 09:22:48 +02:00
|
|
|
RUN dnf install unzip -y
|
|
|
|
|
2019-12-01 03:58:18 +01:00
|
|
|
# Install Butler
|
2024-04-01 15:35:16 +02:00
|
|
|
RUN curl -L -o butler.zip https://broth.itch.zone/butler/linux-amd64/LATEST/archive/default \
|
2020-06-11 00:46:26 +02:00
|
|
|
&& unzip butler.zip \
|
|
|
|
&& cp butler /usr/bin \
|
|
|
|
&& chmod +x /usr/bin/butler
|
2019-12-01 03:58:18 +01:00
|
|
|
|
|
|
|
# Run butler push
|
2020-06-11 00:46:26 +02:00
|
|
|
COPY entrypoint.sh /entrypoint.sh
|
2019-12-01 03:58:18 +01:00
|
|
|
RUN chmod +x entrypoint.sh
|
2020-03-08 13:34:34 +01:00
|
|
|
ENTRYPOINT ["/entrypoint.sh"]
|