File tree Expand file tree Collapse file tree 3 files changed +12
-1
lines changed Expand file tree Collapse file tree 3 files changed +12
-1
lines changed Original file line number Diff line number Diff line change 12
12
retries : 3
13
13
start_period : 30s
14
14
timeout : 10s
15
+ environment :
16
+ # GITEA_RUNNER_REGISTRATION_TOKEN can be used to set a global runner registration token.
17
+ # The Gitea version must be v1.23 or higher.
18
+ # It's also possible to use GITEA_RUNNER_REGISTRATION_TOKEN_FILE to pass the location.
19
+ # - GITEA_RUNNER_REGISTRATION_TOKEN=<user-defined registration token>
15
20
16
21
runner :
17
22
image : gitea/act_runner
Original file line number Diff line number Diff line change 12
12
---
13
13
apiVersion : v1
14
14
data :
15
+ # The registration token can be obtained from the web UI, API or command-line.
16
+ # You can also set a pre-defined global runner registration token for the Gitea instance via
17
+ # `GITEA_RUNNER_REGISTRATION_TOKEN`/`GITEA_RUNNER_REGISTRATION_TOKEN_FILE` environment variable.
15
18
token : << base64 encoded registration token >>
16
19
kind : Secret
17
20
metadata :
Original file line number Diff line number Diff line change 12
12
---
13
13
apiVersion : v1
14
14
data :
15
- token : << runner registration token goes here >>
15
+ # The registration token can be obtained from the web UI, API or command-line.
16
+ # You can also set a pre-defined global runner registration token for the Gitea instance via
17
+ # `GITEA_RUNNER_REGISTRATION_TOKEN`/`GITEA_RUNNER_REGISTRATION_TOKEN_FILE` environment variable.
18
+ token : << base64 encoded registration token >>
16
19
kind : Secret
17
20
metadata :
18
21
name : runner-secret
You can’t perform that action at this time.
0 commit comments