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
+10-11
Original file line number
Diff line number
Diff line change
@@ -38,10 +38,9 @@ These containers are built via Github actions that [copy the dockerfile](https:/
38
38
|`RUNNER_NAME`| The name of the runner to use. Supercedes (overrides) `RUNNER_NAME_PREFIX`|
39
39
|`RUNNER_NAME_PREFIX`| A prefix for a randomly generated name (followed by a random 13 digit string). You must not also provide `RUNNER_NAME`. Defaults to `github-runner`|
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
-
|`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
-
|`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. |
41
+
|`RUNNER_SCOPE`| The scope the runner will be registered on. Valid values are `repo`, `org` and `ent`. For 'org' and 'enterprise', `ACCESS_TOKEN` is required and `REPO_URL` is unneccesary. If 'org', requires `ORG_NAME`; if 'enterprise', requires `ENTERPRISE_NAME`. Default is 'repo'. |
42
+
|`ORG_NAME`| The organization name for the runner to register under. Requires `RUNNER_SCOPE` to be 'org'. No default value. |
43
+
|`ENTERPRISE_NAME`| The enterprise name for the runner to register under. Requires `RUNNER_SCOPE` to be 'enterprise'. No default value. |
45
44
|`LABELS`| A comma separated string to indicate the labels. Default is 'default' |
46
45
|`REPO_URL`| If using a non-organization runner this is the full repository url to register under such as 'https://github.com/myoung34/repo'|
47
46
|`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. |
0 commit comments