We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e79c872 commit 8e3fe68Copy full SHA for 8e3fe68
1 file changed
cloud-init.template.yml
@@ -13,7 +13,7 @@ runcmd:
13
- bash $MY_RUNNER_DIR/pre_runner_script.sh
14
- cd $MY_RUNNER_DIR
15
- bash $MY_RUNNER_DIR/install.sh -v "$MY_RUNNER_VERSION" -d "$MY_RUNNER_DIR"
16
- - $MY_RUNNER_DIR/config.sh --url "https://github.com/${MY_RUNNER_TARGET}" --token "${MY_GITHUB_RUNNER_REGISTRATION_TOKEN}" --name "${MY_NAME}" --labels "${MY_NAME},hetzner"
+ - $MY_RUNNER_DIR/config.sh --url "https://github.com/${MY_RUNNER_TARGET}" --token "${MY_GITHUB_RUNNER_REGISTRATION_TOKEN}" --name "${MY_NAME}" --labels "${MY_NAME},hetzner,server_id=$(curl http://169.254.169.254/hetzner/v1/metadata/instance-id)"
17
write_files:
18
- path: $MY_RUNNER_DIR/pre_runner_script.sh
19
encoding: b64
0 commit comments