-
Notifications
You must be signed in to change notification settings - Fork 9
Using Custom Label Prefix
vzakaznikov edited this page Mar 7, 2024
·
4 revisions
The github-hetzner-runners supports the following custom job labels:
- type-{name}. See Specifying The Runner Image.
- in-{name}. See Specifying The Runner Location.
- image-{architecture}-{type}-{name}. See Specifying The Runner Image.
- setup-{name}. See Specifying The Custom Runner Server Setup Script.
- startup-{name}. See Specifying The Custom Runner Server Startup Script.
However, you can specify a custom prefix for these labels using the --label-prefix option.
For example, let's add the my- prefix to all the labels.
github-hetzner-runners --label-prefix "my-"Now instead of using type-{name}, in-{name}, image-{architecture}-{type}-{name}, setup-{name}, and startup-{name} labels for your jobs you must use my-type-{name}, my-in-{name}, my-image-{architecture}-{type}-{name}, my-setup-{name}, and my-startup-{name} labels instead.
job-name:
runs-on: [self-hosted, my-type-cpx11]Developed and maintained by the TestFlows team.
- Home
- Installation
- Quick Start
- Getting Started Tutorial
- Basic Configuration
- Specifying the Maximum Number of Runners
- Specifying the Maximum Number of Runners Used in Workflow a Run
- Recycling Powered‐Off Servers
- Skipping Jobs
- Using Custom Label Prefix
- Jobs That Require the Docker Engine
- Specifying The Runner Type
- Specifying The Runner Location
- Specifying The Runner Network
- Specifying The Runner Image
- Specifying The Custom Runner Server Setup Script
- Specifying The Custom Runner Server Startup Script
- Disabling Setup or Startup Scripts
- Specifying Standby Runners
- Using Caching Volumes
- Specifying Logger Configuration
- Listing All Current Servers
- Opening The SSH Client To The Server
- Deleting All Runners and Their Servers
- Using a Configuration File
- Using Project Configuration Files
- Specifying SSH Key
- Specifying Additional SSH Keys
- Running as a Service
- Running as a Cloud Service
- Scaling Up Runners
- Scaling Down Runners
- Handling Failing Conditions
- Meta Labels
- Estimating Costs
- Listing Images
- Deleting Images
- Creating Custom Images
- Embedded Monitoring Dashboard
- Prometheus Metrics
- Program Options