mirror of
https://github.com/casjaysdevdocker/gitea
synced 2024-11-24 05:23:06 -05:00
🗃️ Committing everything that changed 🗃️
rootfs/usr/local/etc/docker/init.d/zz-act_runner.sh
This commit is contained in:
parent
2cf87fe408
commit
fc938f0d74
@ -296,7 +296,6 @@ EOF
|
||||
__replace "REPLACE_RUNNER_CACHE_PORT" "$RUNNER_CACHE_PORT" "$RUNNER_DEFAULT_HOME/$RUNNER_CONFIG_NAME"
|
||||
act_runner register --config "$RUNNER_DEFAULT_HOME/$RUNNER_CONFIG_NAME" --labels "$RUNNER_LABELS" --name "gitea" --instance "http://127.0.0.1:$GITEA_PORT" --token "$SYS_AUTH_TOKEN" --no-interactive 2>/dev/stdout >>"$RUNNER_LOG_FILE" &
|
||||
fi
|
||||
set -x
|
||||
for runner in "$CONF_DIR/reg"/*.reg; do
|
||||
echo "Setting up $runner"
|
||||
if [ -f "$runner" ]; then
|
||||
@ -371,7 +370,6 @@ EOF
|
||||
fi
|
||||
exitStatus="${exitStatus:-0}"
|
||||
chown -Rf "$SERVICE_USER":"$SERVICE_GROUP" "$CONF_DIR" "$ETC_DIR" "$DATA_DIR" 2>/dev/null
|
||||
set +x
|
||||
return $exitStatus
|
||||
}
|
||||
exitStatus=$?
|
||||
|
Loading…
Reference in New Issue
Block a user