Commit 8ddffab
Changed files (1)
README.md
@@ -11,6 +11,24 @@ A Nix OCI image builder for Forgejo Actions.
This image use [nlewo/nix2container](https://github.com/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.
+```sh
+# Test image
+nix run .#packages.x86_64-linux.default.copyToPodman
+podman run -it repo.hpcesia.com/hpcesia/nix-act-image:latest
+```
+
+```sh
+# 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
+- [catthehacker/docker_images](https://github.com/catthehacker/docker_images)
- [How to use Podman inside of a container](https://www.redhat.com/en/blog/podman-inside-container)
+
+## License
+
+[MIT](./LICENSE)