Tools for crafting good CI pipelines.
Usage: nix run github:LightAndLight/citools#uploadDockerImage -- URI FILE
Example: nix run github:LightAndLight/citools#uploadDockerImage -- docker.io image.nix
Arguments:
URI
- Docker registry URIFILE
- A Nix file containing adockerTools
Docker image derivation
-
DigitalOcean -
nix build github:LightAndLight/citools#digitalOceanImage && ls result/
At the time of writing, DigitalOcean has no convenient way to automate the uploading of the built image. Upload it manually at https://cloud.digitalocean.com/images/custom_images.
-
nix build github:LightAndLight/citools#testPackage
A derivation with few dependencies that's easy to build. Good for testing Nix flake compatibility, and debugging post-build hooks.