From 1c5b6989d58881f0dea38ddda27729a879fe881b Mon Sep 17 00:00:00 2001 From: Dimi Kot Date: Thu, 7 Mar 2024 11:11:35 -0800 Subject: [PATCH] Make uuid part in runner name shorter --- docker/self-hosted-runner/user/entrypoint.05-config.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/self-hosted-runner/user/entrypoint.05-config.sh b/docker/self-hosted-runner/user/entrypoint.05-config.sh index e89db9f..e13fbb7 100644 --- a/docker/self-hosted-runner/user/entrypoint.05-config.sh +++ b/docker/self-hosted-runner/user/entrypoint.05-config.sh @@ -22,7 +22,7 @@ cd ~/actions-runner && ./config.sh \ --unattended \ --url https://github.com/$GH_REPOSITORY \ --token "$token" \ - --name "ci-storage-$(cat /proc/sys/kernel/random/uuid)" \ + --name "ci-storage-$(cut -d- -f1 < /proc/sys/kernel/random/uuid)" \ --labels "$GH_LABELS" cleanup() {