From 3e8e5902837fde6bc69fcd726a8094a81eb5b670 Mon Sep 17 00:00:00 2001 From: casjay Date: Sun, 11 Aug 2024 15:34:47 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=97=83=EF=B8=8F=20Committing=20everything?= =?UTF-8?q?=20that=20changed=20=F0=9F=97=83=EF=B8=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit rootfs/usr/local/etc/docker/init.d/zz-act_runner.sh --- rootfs/usr/local/etc/docker/init.d/zz-act_runner.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/rootfs/usr/local/etc/docker/init.d/zz-act_runner.sh b/rootfs/usr/local/etc/docker/init.d/zz-act_runner.sh index ce8b4c2..a09fd4a 100755 --- a/rootfs/usr/local/etc/docker/init.d/zz-act_runner.sh +++ b/rootfs/usr/local/etc/docker/init.d/zz-act_runner.sh @@ -209,10 +209,11 @@ __run_pre_execute_checks() { cat <"$CONF_DIR/reg/default.sample" # Settings for the default gitea runner RUNNER_NAME="sample" +RUNNER_HOME="$CONF_DIR/daemon.yaml" RUNNER_LABELS="$RUNNER_LABELS" RUNNER_AUTH_TOKEN="${RUNNER_AUTH_TOKEN:-$SYS_AUTH_TOKEN}" -RUNNER_HOSTNAME="${INSTANCE_HOSTNAME:-http://127.0.0.1:8000}" -CONTAINER_IP4_ADDRESS="${INSTANCE_HOSTNAME}" +RUNNER_HOSTNAME="${HOSTNAME:-http://127.0.0.1:8000}" +CONTAINER_IP4_ADDRESS="${HOSTNAME}" EOF fi if [ ! -f "$CONF_DIR/.runner" ]; then