We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 42dc5d0 commit af30b64Copy full SHA for af30b64
deployment/docker/runner/runner-wrapper
@@ -16,6 +16,11 @@ fi
16
echoerr "Starting semaphore runner"
17
if test "$#" -ne 1; then
18
if [ -n "${SEMAPHORE_RUNNER_REGISTRATION_TOKEN:-}" ]; then
19
+
20
+ if [ -z "${SEMAPHORE_RUNNER_TOKEN:-}" ] && [ -z "${SEMAPHORE_RUNNER_TOKEN_FILE:-}" ]; then
21
+ export SEMAPHORE_RUNNER_TOKEN_FILE="${SEMAPHORE_TMP_PATH}/runner_token.txt"
22
+ fi
23
24
exec /usr/local/bin/semaphore runner start --no-config --register
25
else
26
exec /usr/local/bin/semaphore runner start --no-config
0 commit comments