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
Copy file name to clipboardExpand all lines: README.md
+19
Original file line number
Diff line number
Diff line change
@@ -40,6 +40,8 @@ These containers are built via Github actions that [copy the dockerfile](https:/
40
40
|`ACCESS_TOKEN`| A [github PAT](https://docs.github.com/en/github/authenticating-to-github/creating-a-personal-access-token) to use to generate `RUNNER_TOKEN` dynamically at container start. Not using this requires a valid `RUNNER_TOKEN`|
41
41
|`ORG_RUNNER`| Only valid if using `ACCESS_TOKEN`. This will set the runner to an org runner. Default is 'false'. Valid values are 'true' or 'false'. If this is set to true you must also set `ORG_NAME` and makes `REPO_URL` unneccesary |
42
42
|`ORG_NAME`| The organization name for the runner to register under. Requires `ORG_RUNNER` to be 'true'. No default value. |
43
+
|`ENTERPRISE_RUNNER`| Only valid if using `ACCESS_TOKEN`. This will set the runner to an enterprise runner. Default is 'false'. Valid values are 'true' or 'false'. If this is set to true you must also set `ENTERPRISE_NAME` and makes `REPO_URL` unneccesary |
44
+
|`ENTERPRISE_NAME`| The enterprise name for the runner to register under. Requires `ENTERPRISE_RUNNER` to be 'true'. No default value. |
43
45
|`LABELS`| A comma separated string to indicate the labels. Default is 'default' |
44
46
|`REPO_URL`| If using a non-organization runner this is the full repository url to register under such as 'https://github.com/myoung34/repo'|
45
47
|`RUNNER_TOKEN`| If not using a PAT for `ACCESS_TOKEN` this will be the runner token provided by the Add Runner UI (a manual process). Note: This token is short lived and will change frequently. `ACCESS_TOKEN` is likely preferred. |
@@ -268,10 +270,27 @@ Creating GitHub personal access token (PAT) for using by self-hosted runner make
268
270
269
271
* repo (all)
270
272
* admin:org (all) **_(mandatory for organization-wide runner)_**
273
+
* admin:enterprise (all) **_(mandatory for enterprise-wide runner)_**
271
274
* admin:public_key - read:public_key
272
275
* admin:repo_hook - read:repo_hook
273
276
* admin:org_hook
274
277
* notifications
275
278
* workflow
276
279
277
280
Also, when creating a PAT for self-hosted runner which will process events from several repositories of the particular organization, create the PAT using organization owner account. Otherwise your new PAT will not have sufficient privileges for all repositories.
281
+
282
+
## Run a runner on enterprise scrope ##
283
+
284
+
```shell
285
+
docker run -d --restart always --name github-runner \
0 commit comments