Easily startup an Act Runner container for Gitea with Docker Compose.
-
Create a file named
.env
with your custom configurations:GITEA_INSTANCE_URL=YOUR_URL # required GITEA_RUNNER_REGISTRATION_TOKEN=YOUR_TOKEN # required
-
Generate a configuration file for the runner:
mkdir -p volumes && docker run --entrypoint="" --rm -it docker.io/gitea/act_runner:nightly-dind act_runner generate-config > volumes/config.yaml
-
Startup:
docker-compose up -d