mirror of
https://github.com/casjaysdevdocker/gitea
synced 2024-11-24 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
d8e5a652ee
commit
3e8e590283
@ -209,10 +209,11 @@ __run_pre_execute_checks() {
|
|||||||
cat <<EOF >"$CONF_DIR/reg/default.sample"
|
cat <<EOF >"$CONF_DIR/reg/default.sample"
|
||||||
# Settings for the default gitea runner
|
# Settings for the default gitea runner
|
||||||
RUNNER_NAME="sample"
|
RUNNER_NAME="sample"
|
||||||
|
RUNNER_HOME="$CONF_DIR/daemon.yaml"
|
||||||
RUNNER_LABELS="$RUNNER_LABELS"
|
RUNNER_LABELS="$RUNNER_LABELS"
|
||||||
RUNNER_AUTH_TOKEN="${RUNNER_AUTH_TOKEN:-$SYS_AUTH_TOKEN}"
|
RUNNER_AUTH_TOKEN="${RUNNER_AUTH_TOKEN:-$SYS_AUTH_TOKEN}"
|
||||||
RUNNER_HOSTNAME="${INSTANCE_HOSTNAME:-http://127.0.0.1:8000}"
|
RUNNER_HOSTNAME="${HOSTNAME:-http://127.0.0.1:8000}"
|
||||||
CONTAINER_IP4_ADDRESS="${INSTANCE_HOSTNAME}"
|
CONTAINER_IP4_ADDRESS="${HOSTNAME}"
|
||||||
EOF
|
EOF
|
||||||
fi
|
fi
|
||||||
if [ ! -f "$CONF_DIR/.runner" ]; then
|
if [ ! -f "$CONF_DIR/.runner" ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user