From 94ad7d9a1d9368ebecb8d34a59f47e5a7290c9ea Mon Sep 17 00:00:00 2001 From: uazo Date: Fri, 18 Feb 2022 12:52:34 +0000 Subject: [PATCH] Update to runner v2.302.5 --- images/github-runner/Dockerfile | 2 +- images/github-runner/startup.sh | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/images/github-runner/Dockerfile b/images/github-runner/Dockerfile index 634202d..458fa03 100644 --- a/images/github-runner/Dockerfile +++ b/images/github-runner/Dockerfile @@ -77,7 +77,7 @@ RUN useradd -m runner \ # Build args ARG TARGETPLATFORM=amd64 -ARG RUNNER_VERSION=2.302.4 +ARG RUNNER_VERSION=2.302.5 WORKDIR /runner # Runner download supports amd64 as x64 diff --git a/images/github-runner/startup.sh b/images/github-runner/startup.sh index f72a6da..64dac26 100644 --- a/images/github-runner/startup.sh +++ b/images/github-runner/startup.sh @@ -48,7 +48,8 @@ echo "Registering runner ${runner_id}" --url "${registration_url}" \ --allowedauthorslist "${ALLOWEDAUTHORSLIST}" \ --unattended \ - --replace + --replace \ + --disableupdate trap 'remove_runner; exit 130' SIGINT trap 'remove_runner; exit 143' SIGTERM @@ -58,5 +59,5 @@ for f in runsvc.sh RunnerService.js; do mv {patched,bin}/${f} done -./bin/runsvc.sh --once "$*" +./bin/runsvc.sh --ephemeral "$*" remove_runner