Forgejo runner under Podman
| data | forgejo-runner-podman | |
| docker-compose.yaml | forgejo-runner-podman | |
| LICENSE.md | forgejo-runner-podman | |
| README.md | forgejo-runner-podman | |
Forgejo Runner (Podman)
This repository shows you how to create a Forgejo runner for Forgejo Actions under Podman.
Setup
Create data directory
echo -n "<TOKEN>" > ./data/token
sudo chown -R $UID:$UID ./data
sudo chmod -R 700 ./data
Note: Codeberg provides you with the token when creating a runner
Change UUID
Change the UUID in docker-compose.yaml
Update labels
Update the labels - they should be comma separated
This is what is used to pick your runner from the runs-on field
Start the containers
podman-compose up -d
Afterwards you should see the worker appear in Codeberg
Credits
Inspired by https://git.poire.dev/arampoire/forgejo-runner-podman