Update to runner v2.302.5

This commit is contained in:
uazo 2022-02-18 12:52:34 +00:00
parent f16bbde3d2
commit 94ad7d9a1d
2 changed files with 4 additions and 3 deletions

View File

@ -77,7 +77,7 @@ RUN useradd -m runner \
# Build args # Build args
ARG TARGETPLATFORM=amd64 ARG TARGETPLATFORM=amd64
ARG RUNNER_VERSION=2.302.4 ARG RUNNER_VERSION=2.302.5
WORKDIR /runner WORKDIR /runner
# Runner download supports amd64 as x64 # Runner download supports amd64 as x64

View File

@ -48,7 +48,8 @@ echo "Registering runner ${runner_id}"
--url "${registration_url}" \ --url "${registration_url}" \
--allowedauthorslist "${ALLOWEDAUTHORSLIST}" \ --allowedauthorslist "${ALLOWEDAUTHORSLIST}" \
--unattended \ --unattended \
--replace --replace \
--disableupdate
trap 'remove_runner; exit 130' SIGINT trap 'remove_runner; exit 130' SIGINT
trap 'remove_runner; exit 143' SIGTERM trap 'remove_runner; exit 143' SIGTERM
@ -58,5 +59,5 @@ for f in runsvc.sh RunnerService.js; do
mv {patched,bin}/${f} mv {patched,bin}/${f}
done done
./bin/runsvc.sh --once "$*" ./bin/runsvc.sh --ephemeral "$*"
remove_runner remove_runner