Repository for building minimal Docker images with butler
, the itch.io command-line tool.
Available on Docker Hub at lfdev/butler.
docker run \
-v ./build:/build \
-e BUTLER_API_KEY=<YOUR API KEY> \
lfdev/butler butler push /build <USER>/<PROJECT>:<CHANNEL>
Mount the path to your build output (e.g. ./build
) to a known folder in the container (e.g. /build
).
Set your butler API key through the BUTLER_API_KEY
environment variable. You can generate an API key from your itch.io API keys settings.
Replace <USER>
with your itch.io username, <PROJECT>
with your project's slug, and <CHANNEL>
with a channel name (e.g. windows
, macos
, linux
, web
).