1
0
Fork 0
mirror of https://code.forgejo.org/forgejo/runner.git synced 2025-08-06 17:40:58 +00:00
forgejo-runner/examples/README.md
Earl Warren 51fb504a2e
feat: add an LXC based example of docker/build-push-action usage (#781)
The motivations for this additional example are:

- Using https://github.com/docker/build-push-action/ with the Forgejo runner is a recurring question and there is no example of how to do that
- Reproducing https://code.forgejo.org/forgejo/runner/issues/208 will benefit from this example

---

<!--start release-notes-assistant-->
<!--URL:https://code.forgejo.org/forgejo/runner-->
- features
  - [PR](https://code.forgejo.org/forgejo/runner/pulls/781): <!--number 781 --><!--line 0 --><!--description ZmVhdDogYWRkIGFuIExYQyBiYXNlZCBleGFtcGxlIG9mIGRvY2tlci9idWlsZC1wdXNoLWFjdGlvbiB1c2FnZSBbc2tpcCBjYXNjYWRlXQ==-->feat: add an LXC based example of docker/build-push-action usage [skip cascade]<!--description-->
<!--end release-notes-assistant-->

Reviewed-on: https://code.forgejo.org/forgejo/runner/pulls/781
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
Co-authored-by: Earl Warren <contact@earl-warren.org>
Co-committed-by: Earl Warren <contact@earl-warren.org>
2025-08-01 14:04:02 +00:00

1.4 KiB

A collection of Forgejo actions examples.

Other examples can be found in the documentation.

Section Description
docker-build-push-action-in-lxc using the LXC runner backend to build and push a container image using the docker/build-push-action action
docker using the host docker server by mounting the socket
LXC systemd systemd unit managing LXC containers dedicated to a single runner
docker-compose all in one docker-compose with the Forgejo server, the runner and docker in docker
kubernetes a sample deployment for the Forgejo runner