An open API service indexing awesome lists of open source software.

https://github.com/mys1024/easy-gitea-runner

Easily startup a Act Runner container for Gitea with Docker Compose.
https://github.com/mys1024/easy-gitea-runner

actions docker docker-compose gitea gitea-actions podman podman-compose

Last synced: about 1 year ago
JSON representation

Easily startup a Act Runner container for Gitea with Docker Compose.

Awesome Lists containing this project

README

          

# easy-gitea-runner

Easily startup an [**Act Runner**](https://docs.gitea.ac.cn/usage/actions/act-runner) container for [**Gitea**](https://about.gitea.com) with [**Docker Compose**](https://docs.docker.com/compose/).

## Usage

1. Create a file named `.env` with your custom configurations:

```sh
GITEA_INSTANCE_URL=YOUR_URL # required
GITEA_RUNNER_REGISTRATION_TOKEN=YOUR_TOKEN # required
```

2. Generate a configuration file for the runner:

```sh
mkdir -p volumes && docker run --entrypoint="" --rm -it docker.io/gitea/act_runner:nightly-dind act_runner generate-config > volumes/config.yaml
```

3. Startup:

```sh
docker-compose up -d
```

## License

[MIT](./LICENSE) License © 2024-PRESENT [mys1024](https://github.com/mys1024)