mirror of
https://github.com/yeslayla/butler-publish-itchio-action.git
synced 2025-01-13 04:23:25 +01:00
20 lines
565 B
Docker
20 lines
565 B
Docker
FROM rockylinux:8
|
|
|
|
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"
|
|
|
|
RUN dnf install unzip -y
|
|
|
|
# Install Butler
|
|
RUN curl -L -o butler.zip https://broth.itch.zone/butler/linux-amd64/LATEST/archive/default \
|
|
&& unzip butler.zip \
|
|
&& cp butler /usr/bin \
|
|
&& chmod +x /usr/bin/butler
|
|
|
|
# Run butler push
|
|
COPY entrypoint.sh /entrypoint.sh
|
|
RUN chmod +x entrypoint.sh
|
|
ENTRYPOINT ["/entrypoint.sh"]
|