trigger build
Some checks failed
Build images / build-images-amd64 (push) Failing after 7m28s
Build images / build-images-arm64 (push) Successful in 9m25s
Build images / update-images-manifests (push) Has been skipped

This commit is contained in:
Maciej Lebiest 2024-02-22 09:41:45 +01:00
parent b6115e9625
commit c5e4cc673a

View file

@ -216,6 +216,7 @@ podman run --rm -it \
Register runner.
example value for labels can be `ubuntu-latest:docker://quay.io/podman/stable`.
```bash
podman run --rm -it \
-v /root/act-runner/runner/:/etc/runner:z,rw \
@ -225,6 +226,7 @@ podman run --rm -it \
```
Start container acting as podman/docker (use `--init` to get rid of zombies):
```bash
podman run --rm -d --privileged --name gitea-podman \
--init \
@ -235,6 +237,7 @@ podman run --rm -d --privileged --name gitea-podman \
```
Now start container with runner
```bash
podman run --rm -d --name gitea-runner \
-v /root/act-runner/runner/:/etc/runner:rw,Z \
@ -244,6 +247,7 @@ podman run --rm -d --name gitea-runner \
```
Now generate systemd services for these containers
```bash
podman generate systemd --new --name gitea-podman > /etc/systemd/system/gitea-podman.service;
podman generate systemd --new --name gitea-runner > /etc/systemd/system/gitea-runner.service;