Chibi deploy is a simple command line utility which allows you to build, push and deploy images to your servers, largely aimed at web applications.
- Golang tooling - install go
git clone https://github.com/MiloDevs/chibi-deploycd chibi-deployGOBIN=/path/to/bin go installNow you can run chibi-deploy anywhere from your system, recommended location for GOBIN is /home/your/user/bin for isolation and remember to add this folder to PATH
chibi-deploy initcreates the basic yaml and secrets file for you in the current directory
chibi-deploy deployruns the deploy script step by step:
- first it builds your images
- pushes built images to your choses registry, currently only supports ghcr
- ssh into server and executes your deploy script.
.secrets file expected format - This will be more adjustable in the future
SSH_USER=
SSH_HOST=
SSH_KEY=
GHCR_USER=
GH_TOKEN=
This is still a work in progress and very rudimentary but it works, I'll continue to improve on this as time goes on but feel free to open any issues or feature requests. Thank you!