main

Nix Action Image

A Nix OCI image builder for Forgejo Actions.

Components

Usage

This image use nlewo/nix2container to build OCI images from Nix expressions. You can use it to build and push images to a registry. Check it’s documentation for more details.

# Test image
nix run .#packages.x86_64-linux.default.copyToPodman
podman run -it docker.io/hpcesia/nix-act-image:latest
# Push image
nix run .#packages.x86_64-linux.default.copyToRegistry

Note that I only registered this image on my own Forgejo instance because the build artifacts are a bit too large for Codeberg’s free hosting service, and I don’t want to hog too many resources. You’ll need to change the image registration and host your own one.

Acknowledgements

License

MIT