Skip to content

Commit

Permalink
use runner 2.310.0
Browse files Browse the repository at this point in the history
  • Loading branch information
uazo committed Oct 17, 2023
1 parent 66251e1 commit 68de8da
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tools/images/github-runner/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 6 additions & 2 deletions tools/images/github-runner/start-runner.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 68de8da

Please sign in to comment.