myoung34 / docker-github-actions-runner

This will run the new self-hosted github actions runners with docker-in-docker

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

latest tag uses 2.289.3 which is a downgrade

opened this issue · comments

myoung34/github-runner:latest is the latest version of the image (e.g. 2.289.3) however the previous version released is 2.290.1. Using this older version causes runners to attempt to upgrade on start up and then crashloop.

commented

Also the readme mentions DISABLE_AUTO_UPDATE but setting it does not prevent them from trying to self upgrade for some reason

As for the env var, that is tested and working on latest (2.289.3):

docker pull myoung34/github-runner:latest
docker run \
  -e REPO_URL="https://github.com/octokode/test1" \
  -e RUNNER_NAME="foo-runner" \
  -e RUNNER_TOKEN="redact" \
  -e DISABLE_AUTO_UPDATE="true" \
  myoung34/github-runner:latest
Runner reusage is disabled
Disable auto update option is enabled
Configuring

--------------------------------------------------------------------------------
|        ____ _ _   _   _       _          _        _   _                      |
|       / ___(_) |_| | | |_   _| |__      / \   ___| |_(_) ___  _ __  ___      |
|      | |  _| | __| |_| | | | | '_ \    / _ \ / __| __| |/ _ \| '_ \/ __|     |
|      | |_| | | |_|  _  | |_| | |_) |  / ___ \ (__| |_| | (_) | | | \__ \     |
|       \____|_|\__|_| |_|\__,_|_.__/  /_/   \_\___|\__|_|\___/|_| |_|___/     |
|                                                                              |
|                       Self-hosted runner registration                        |
|                                                                              |
--------------------------------------------------------------------------------

# Authentication


√ Connected to GitHub

# Runner Registration




√ Runner successfully added
√ Runner connection is good

# Runner settings


√ Settings Saved.


√ Connected to GitHub

Current runner version: '2.289.3'
2022-04-20 19:43:10Z: Listening for Jobs
2022-04-20 19:45:51Z: Running job: test
2022-04-20 19:46:00Z: Job test completed with result: Succeeded

I re-updated latest to 2.290.1 and pushed

The automation picked up a change to the upstream because of this

This is actually a problem ive been having with the actions repo. If you'd like to add your voice, please comment or upvote here