You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GitHub allows developpers to run GitHub Actions workflows on your own runners.
4
7
This Docker image allows you to create your own runner on Docker.
5
8
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) :
7
16
> "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".
8
17
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
+
9
20
## Usage
10
21
11
22
Use the following command to start listening for jobs:
@@ -30,6 +41,7 @@ The following environment variables allows you to control the configuration para
30
41
31
42
## Using docker-compose.yml
32
43
44
+
In `docker-compose.yml` :
33
45
```yaml
34
46
version: "3.6"
35
47
@@ -40,4 +52,10 @@ services:
40
52
RUNNER_NAME: "my-runner"
41
53
RUNNER_REPOSITORY_URL: ${RUNNER_REPOSITORY_URL}
42
54
RUNNER_TOKEN: ${RUNNER_TOKEN}
55
+
```
56
+
57
+
You can create a `.env` to provide environment variables when using docker-compose :
0 commit comments