docs: add notes on building images locally+ci

This commit is contained in:
Marc 2024-11-06 21:31:53 -05:00
parent f0e5a4f260
commit 01277e9159
Signed by: marc
GPG key ID: 048E042F22B5DC79

View file

@ -1,3 +1,15 @@
# runner-images
Image factory for Forgejo action runners
Image factory for Forgejo Action runners
## Building
Images can be build locally if needed:
```sh
python build_image.py <image-name> <Dockerfile path>
```
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.