https://github.com/martabal/docker-gitea_act_runner
Act runner in docker for gitea
https://github.com/martabal/docker-gitea_act_runner
actions ci cicd docker gitea
Last synced: 3 months ago
JSON representation
Act runner in docker for gitea
- Host: GitHub
- URL: https://github.com/martabal/docker-gitea_act_runner
- Owner: martabal
- Archived: true
- Created: 2023-03-21T14:04:18.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-05-02T22:02:02.000Z (about 2 years ago)
- Last Synced: 2024-07-29T18:25:32.519Z (10 months ago)
- Topics: actions, ci, cicd, docker, gitea
- Language: Dockerfile
- Homepage:
- Size: 20.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Docker for Gitea Act runner
[](https://github.com/martabal/docker-act_runner/actions/workflows/release.yml)
Act runner is a runner for Gitea based on Gitea fork of act .
## Run it
### Docker-cli ([click here for more info](https://docs.docker.com/engine/reference/commandline/cli/))
```sh
docker run --name=act_runner \
-e INSTANCE=GITEA_URL \
-e TOKEN=RUNNER_TOKEN \
-e NAME=RUNNER_NAME `#optional` \
-e LABELS=RUNNER_TAGS `#optional` \
-v path_to_data:/config \
-v /var/run/docker.sock:/var/run/docker.sock \
martabal/act_runner
```### Docker-compose
```yaml
version: "2.1"
services:
immich:
image: martabal/act_runner:latest
container_name: act_runner
environment:
- INSTANCE=GITEA_URL
- TOKEN=RUNNER_TOKEN
- NAME=RUNNER_NAME #optional
- LABELS=RUNNER_TAGS #optional
volumes:
- path_to_data:/config
- /var/run/docker.sock:/var/run/docker.sock
restart: unless-stopped
```## Parameters
### Environment variables
| Parameters | Function | Default Value |
| :-----: | ----- | ----- |
| `-e INSTANCE` | gitea instance ROOT_URL | |
| `-e TOKEN` | Runner token from gitea | |
| `-e NAME` | Runner name | |
| `-e LABELS` | Runner tags, comma separated | |
| `-e INSECURE` | Check server's certificate if using https protocol | false |
| `-v path_to_data:/config` | Where .runner config file is stored | |