mirror of
https://github.com/casjaysdevdocker/gitea
synced 2024-11-21 11:23:07 -05:00
🗃️ Committing everything that changed 🗃️
rootfs/usr/local/etc/docker/init.d/zz-act_runner.sh
This commit is contained in:
parent
bf68f8f6a5
commit
d8fd77402e
@ -264,7 +264,9 @@ EOF
|
||||
sleep 120
|
||||
else
|
||||
echo "RUNNER_AUTH_TOKEN has been set: trying to register $RUNNER_NAME"
|
||||
if [ ! -f "$RUNNER_HOME/runners" ]; then
|
||||
if [ -f "$RUNNER_HOME/runners" ]; then
|
||||
continue
|
||||
else
|
||||
cp -Rf "$CONF_DIR/multi.yaml" "$RUNNER_HOME/$RUNNER_NAME.yaml"
|
||||
__replace "REPLACE_RUNNER_TEMP" "$TMP_DIR/$RUNNER_NAME" "$RUNNER_HOME/$RUNNER_NAME.yaml"
|
||||
__replace "REPLACE_RUNNER_HOME" "$RUNNER_HOME" "$RUNNER_HOME/$RUNNER_NAME.yaml"
|
||||
|
Loading…
Reference in New Issue
Block a user