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
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
..
docker fix: example uses code.forgejo.org/oci 2025-01-15 12:24:32 +01:00
docker-build-push-action feat: add an LXC based example of docker/build-push-action usage (#781) 2025-08-01 14:04:02 +00:00
docker-compose Update code.forgejo.org/oci/alpine Docker tag to v3.22 (#712) 2025-07-16 09:11:29 +00:00
kubernetes Improve doc and add full example for Kubernetes (#657) 2025-07-03 15:22:24 +00:00
lxc-systemd feat: lxc-systemd defaults to using Forgejo runner 7.0.0 (#674) 2025-07-07 18:42:22 +00:00
README.md feat: add an LXC based example of docker/build-push-action usage (#781) 2025-08-01 14:04:02 +00:00

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