From 9c95cf5074b2f0345009a82d1bfa45abdae64370 Mon Sep 17 00:00:00 2001 From: Chris Evich Date: Wed, 16 Nov 2022 08:47:26 -0500 Subject: [PATCH] Add runner-name build-arg Signed-off-by: Chris Evich --- Containerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Containerfile b/Containerfile index 438ebd6..b00638a 100644 --- a/Containerfile +++ b/Containerfile @@ -107,6 +107,7 @@ ENTRYPOINT ["/usr/local/bin/gitlab-runner-wrapper"] # Gitlab-runner configuration options. Default to unprivileged (nested) # runner. Privileged is required to permit nested container image building. +ARG RUNNER_NAME="pipglr" ARG PRIVILEGED_RUNNER="false" # Tags allow pinning jobs to specific runners, comma-separated list of # tags to add to runner (no spaces!) @@ -119,6 +120,7 @@ ENV REGISTER_NON_INTERACTIVE="true" \ REGISTER_ACCESS_LEVEL="ref_protected" \ REGISTER_MAXIMUM_TIMEOUT="3600" \ CI_SERVER_URL="https://gitlab.com/" \ + RUNNER_NAME="${RUNNER_NAME}" \ RUNNER_EXECUTOR="docker" \ RUNNER_SHELL="bash" \ REGISTER_MAINTENANCE_NOTE="Podman-in-Podman containerized runner" \