From 01277e91594d039d76db72137ab2bc1ef1d2c465 Mon Sep 17 00:00:00 2001 From: Marc Cataford Date: Wed, 6 Nov 2024 21:31:53 -0500 Subject: [PATCH] docs: add notes on building images locally+ci --- README.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f28ca05..19c881a 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,15 @@ # runner-images -Image factory for Forgejo action runners \ No newline at end of file +Image factory for Forgejo Action runners + +## Building + +Images can be build locally if needed: + +```sh +python build_image.py +``` + +CI will also build images when a tag of the format `v*` is pushed. The images built by CI are tagged as `:latest` and pushed to the registry at the run. + +If CI workflows are triggered manually (i.e. via `workflow_dispatch`), then the image push is skipped.