docs: add notes on building images locally+ci
This commit is contained in:
parent
f0e5a4f260
commit
01277e9159
1 changed files with 13 additions and 1 deletions
14
README.md
14
README.md
|
@ -1,3 +1,15 @@
|
||||||
# runner-images
|
# 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.
|
||||||
|
|
Loading…
Reference in a new issue