mirror of
https://code.forgejo.org/forgejo/runner.git
synced 2025-08-06 17:40:58 +00:00
fix: forgejo-runner-service.sh misses LXC config
When re-creating the LXC container, the INPUTS_LXC_CONFIG must be set otherwise it will always use the default.
This commit is contained in:
parent
5f92ffdbc6
commit
253eb51687
1 changed files with 8 additions and 7 deletions
|
@ -159,13 +159,14 @@ function inside() {
|
||||||
local name=$(lxc_name)
|
local name=$(lxc_name)
|
||||||
|
|
||||||
lxc-helpers.sh lxc_container_run $name -- sudo --user $LXC_USER_NAME \
|
lxc-helpers.sh lxc_container_run $name -- sudo --user $LXC_USER_NAME \
|
||||||
INPUTS_SERIAL=$INPUTS_SERIAL \
|
INPUTS_SERIAL="$INPUTS_SERIAL" \
|
||||||
INPUTS_TOKEN=$INPUTS_TOKEN \
|
INPUTS_LXC_CONFIG="$INPUTS_LXC_CONFIG" \
|
||||||
INPUTS_FORGEJO=$INPUTS_FORGEJO \
|
INPUTS_TOKEN="$INPUTS_TOKEN" \
|
||||||
INPUTS_LIFETIME=$INPUTS_LIFETIME \
|
INPUTS_FORGEJO="$INPUTS_FORGEJO" \
|
||||||
KILL_AFTER=$KILL_AFTER \
|
INPUTS_LIFETIME="$INPUTS_LIFETIME" \
|
||||||
VERBOSE=$VERBOSE \
|
KILL_AFTER="$KILL_AFTER" \
|
||||||
HOST=$HOST \
|
VERBOSE="$VERBOSE" \
|
||||||
|
HOST="$HOST" \
|
||||||
$SELF_FILENAME "$@"
|
$SELF_FILENAME "$@"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue