dcloud ci runners create-registration-tokenIssue a one-time token a machine registers itself with
The token is returned once and stored hashed. It expires after 15 minutes and can be redeemed by exactly one machine. `configCommand` registers GitHub’s own runner (`./config.sh --url https://git.{root}/{org}[/{repo}] --token …`), which then runs GitHub-syntax jobs with `runs-on: self-hosted` (plus any labels it carries); `installCommand` installs the Deutsche Cloud agent on a Mac. A runner that will hold deploy credentials belongs in a group with `protectedRefsOnly`.
Synopsis
dcloud ci runners create-registration-token [flags]Flags
--repository-idOptionalstring
Limit the token, and the runner it registers, to this repository (authorized on the repository); org-wide when absent
Constraints: uuid
--group-idOptionalstring
The runner group the machine joins; the Default group when absent
Constraints: uuid
--labelsOptionalarray of string
Fix the runner’s custom labels; what the machine declares is then ignored (platform labels such as self-hosted, linux, x64 are kept)
Constraints: 1-50 chars
Example
dcloud ci runners create-registration-tokenGenerated from the API description, the same one the API checks requests against and the CLI is built from.