🗃️ Committing everything that changed 🗃️

rootfs/usr/local/etc/docker/init.d/zz-act_runner.sh
This commit is contained in:
casjay 2024-09-01 12:50:50 -04:00
parent 18d0f2dd9c
commit bc0aaaeb60
Signed by untrusted user who does not match committer: jason
GPG Key ID: 1AB309F42A764145

View File

@ -245,6 +245,7 @@ RUNNER_AUTH_TOKEN="${RUNNER_AUTH_TOKEN:-$SYS_AUTH_TOKEN}"
RUNNER_LABELS="$RUNNER_LABELS"
EOF
fi
if [ ! -f "$CONF_DIR/reg/runner-2.reg" ]; then
cat <<EOF >"$CONF_DIR/reg/runner-2.reg"
# Settings for the default local runner
@ -259,8 +260,8 @@ EOF
fi
for runner in "$CONF_DIR/reg"/*.reg; do
[ -f "$runner" ] && . "$runner"
while :; do
[ -f "$runner" ] && . "$runner"
SYS_AUTH_TOKEN="${RUNNER_AUTH_TOKEN:-$(__gen_auth_token)}"
RUNNER_NAME="${RUNNER_NAME:-$(basename "${runner//.reg/}")}"
RUNNER_HOME="${RUNNER_HOME:-$CONF_DIR/multi/$RUNNER_NAME}"