mirror of
https://github.com/yeslayla/butler-publish-itchio-action.git
synced 2025-12-06 16:23:22 +01:00
Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| cb6573e42b | |||
| 49e6220958 | |||
| 53fdf15e50 | |||
|
|
dea5c0fee7 | ||
|
|
b1f7d404eb | ||
|
|
429eea9b6d |
13
Dockerfile
13
Dockerfile
@@ -1,16 +1,19 @@
|
||||
FROM centos:8
|
||||
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
|
||||
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"]
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
mkdir -p ~/.config/itch
|
||||
echo $BUTLER_CREDENTIALS > ~/.config/itch/butler_creds
|
||||
export BUTLER_API_KEY=$BUTLER_CREDENTIALS
|
||||
|
||||
versionArgument=""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user