diff --git a/tools/images/github-runner/Dockerfile b/tools/images/github-runner/Dockerfile index 8ecb40c6..4e89ffa1 100644 --- a/tools/images/github-runner/Dockerfile +++ b/tools/images/github-runner/Dockerfile @@ -77,7 +77,7 @@ RUN useradd -m runner \ # Build args ARG TARGETPLATFORM=amd64 -ARG RUNNER_VERSION=2.308.0 +ARG RUNNER_VERSION=2.310.0 WORKDIR /runner # Runner download supports amd64 as x64 diff --git a/tools/images/github-runner/start-runner.sh b/tools/images/github-runner/start-runner.sh index 50548847..be2d6be1 100644 --- a/tools/images/github-runner/start-runner.sh +++ b/tools/images/github-runner/start-runner.sh @@ -2,7 +2,11 @@ docker stop gh-proxy -GHRUNNERHOME=~/gh-runner +if [ -z "$GHRUNNERHOME" ]; then + echo "Variable GHRUNNERHOME is empty" + echo " example: GHRUNNERHOME=/home/xxxx/gh-runner/docker-inner/" + exit 1 +fi sudo rm -rf $GHRUNNERHOME/tmp SYSBOX_UID=$(cat /etc/subuid | grep sysbox | cut -d : -f 2) @@ -40,7 +44,7 @@ do -v /casefold:/win_sdk \ --network none \ --device=/dev/kvm \ - uazo/github-runner:2.308.0 + uazo/github-runner:2.310.0 echo "You can stop now" sleep 5s