From 3cd1352c8c677f301104f694a4707166ac88ebb4 Mon Sep 17 00:00:00 2001 From: Frank van Rest Date: Thu, 9 Feb 2017 16:01:27 +0100 Subject: [PATCH] Changes to make it work with the latest gitlab-runner --- startup-scripts/prepare-runner.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/startup-scripts/prepare-runner.sh b/startup-scripts/prepare-runner.sh index 2c90223..0a1aec5 100755 --- a/startup-scripts/prepare-runner.sh +++ b/startup-scripts/prepare-runner.sh @@ -49,8 +49,8 @@ function registerRunner() { fi gitlab-ci-multi-runner register --config /etc/gitlab-runner/config.toml --non-interactive \ - --url $GITLAB_CI_URI --registration-token $REGISTER_TOKEN --tag-list "$RUNNER_TAGS" \ - --name $RUNNER_NAME --executor docker+machine + --url $GITLAB_CI_URI --registration-token $REGISTER_TOKEN \ + --name $RUNNER_NAME --executor docker+machine --docker-image alpine local TOKEN=$(sed -n 's/.*token = "\(.*\)".*/\1/p' /etc/gitlab-runner/config.toml) echo "Runner registered with token $TOKEN"