This is an unofficial docker image for Itch.io's butler program.
Builds are provided for both AMD64 and ARM64/AARCH64.
The program is built from source, since Itch does not provide an ARM64 binary of the butler program.
The docker image requires a few volumes to work as intended.
- an input directory in which your game files reside
- a config directory for storing your login state (so you don't need to login again every time)
- a cache directory for storing miscellaneous operational files. This is optional
There are two tags provided, one for each supported architecture.
- ghcr.io/mcarr823/docker-itchio-butler:amd64
- ghcr.io/mcarr823/docker-itchio-butler:arm64
docker run -v ./in:/home/butler/in/ -v ./config:/home/butler/.config/itch/ ghcr.io/mcarr823/docker-itchio-butler:amd64 version
This will likely print out "head, no build date", since we're compiling from source.
docker compose run butler version
This assumes you've copied the docker-compose.yml file from this repository.
docker compose run butler login
docker compose run butler push /home/butler/in/MyGame.zip myrepo/mygame:tags
MyGame.zip would reside in the input folder (./in/ by default).
myrepo/mygame:tags should correspond to whatever your username, game, and desired tags are for the build.