mirror of
https://github.com/casjaysdevdocker/gitea
synced 2024-11-21 17: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
54f23f7449
commit
bad98e7c1e
@ -248,7 +248,9 @@ EOF
|
||||
fi
|
||||
for runner in "$CONF_DIR/reg"/*.reg; do
|
||||
exitStatus=0
|
||||
unset RUNNER_HOME RUNNER_NAME
|
||||
RUNNER_NAME="$(basename "${runner//.reg/}")"
|
||||
RUNNER_HOME="${RUNNER_HOME:-$CONF_DIR/multi/$RUNNER_NAME}"
|
||||
while :; do
|
||||
[ -f "$runner" ] && . "$runner"
|
||||
[ -f "$RUN_DIR/act_runner.$RUNNER_NAME.pid" ] && break
|
||||
@ -266,7 +268,6 @@ EOF
|
||||
continue
|
||||
else
|
||||
[ -f "$runner" ] && . "$runner"
|
||||
RUNNER_HOME="${RUNNER_HOME:-$CONF_DIR/multi/$RUNNER_NAME}"
|
||||
mkdir -p "$RUNNER_HOME"
|
||||
cp -Rf "$CONF_DIR/multi.yaml" "$RUNNER_HOME/daemon.yaml"
|
||||
__replace "REPLACE_RUNNER_TEMP" "$TMP_DIR/$RUNNER_NAME" "$RUNNER_HOME/$RUNNER_NAME.yaml"
|
||||
|
Loading…
Reference in New Issue
Block a user