Skip to content

Commit 017ab99

Browse files
committed
Add documentation in the README.md
1 parent 8d96061 commit 017ab99

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

README.md

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,22 @@
11
# GitHub Runner
22

3+
[![Docker Pulls](https://img.shields.io/docker/pulls/tcardonne/github-runner)](https://hub.docker.com/r/tcardonne/github-runner)
4+
5+
-----------
36
GitHub allows developpers to run GitHub Actions workflows on your own runners.
47
This Docker image allows you to create your own runner on Docker.
58

6-
Note : As stated in the [documentation](https://help.github.com/en/github/automating-your-workflow-with-github-actions/about-self-hosted-runners) :
9+
This Docker Image is still under development: the linking process works but as it uses the Debian Buster image as a base, some actions may not work.
10+
My goal with this image is to be able to build Docker images (probably using Docker siblings or Docker in Docker).
11+
12+
For now, there is only a Debian Buster image, but I may add more variants in the future.
13+
14+
## Important notes
15+
As stated in the [documentation](https://help.github.com/en/github/automating-your-workflow-with-github-actions/about-self-hosted-runners) :
716
> "GitHub Actions is currently in limited public beta and is subject to change. We strongly recommend that you do not use this feature for high-value workflows and content during the beta period".
817
18+
Also, GitHub [recommends](https://help.github.com/en/github/automating-your-workflow-with-github-actions/about-self-hosted-runners#self-hosted-runner-security-with-public-repositories) that you do **NOT** use self-hosted runners with public repositories, for security reasons.
19+
920
## Usage
1021

1122
Use the following command to start listening for jobs:
@@ -30,6 +41,7 @@ The following environment variables allows you to control the configuration para
3041

3142
## Using docker-compose.yml
3243

44+
In `docker-compose.yml` :
3345
```yaml
3446
version: "3.6"
3547

@@ -40,4 +52,10 @@ services:
4052
RUNNER_NAME: "my-runner"
4153
RUNNER_REPOSITORY_URL: ${RUNNER_REPOSITORY_URL}
4254
RUNNER_TOKEN: ${RUNNER_TOKEN}
55+
```
56+
57+
You can create a `.env` to provide environment variables when using docker-compose :
58+
```
59+
RUNNER_REPOSITORY_URL=https://github.com/your_url/your_repo
60+
RUNNER_TOKEN=the_runner_token
4361
```

0 commit comments

Comments
 (0)