docker-github-actions-runner
docker-github-actions-runner copied to clipboard
DISABLE_AUTO_UPDATE ENV flag no longer respected
It seems the environment variable flag is no longer respected after an update in the last couple of weeks.
Release version: 2.331.0
2026-03-06T15:15:52.533971176Z 2026-03-06 15:15:52Z: Job build completed with result: Succeeded
2026-03-07T00:09:36.380867156Z Runner update in progress, do not shutdown runner.
2026-03-07T00:09:36.503342282Z Downloading 2.332.0 runner
2026-03-07T00:10:03.672244718Z Waiting for current job finish running.
2026-03-07T00:10:03.780260462Z Generate and execute update script.
2026-03-07T00:10:03.889870889Z Runner will exit shortly for update, should be back online within 10 seconds.
2026-03-07T00:10:03.996474997Z Runner update process finished.
2026-03-09T12:20:31.814974757Z Runner reusage is enabled
2026-03-09T12:20:31.815212062Z Copying previous data
2026-03-09T12:20:31.951010118Z The runner has already been configured
2026-03-09T12:20:31.951167591Z Reusage is enabled. Storing data to /runner/data
2026-03-09T12:20:33.224367064Z
2026-03-09T12:20:33.224628169Z √ Connected to GitHub
2026-03-09T12:20:33.224728691Z
2026-03-09T12:20:33.980287860Z Current runner version: '2.331.0'
Compose file:
version: '2.3'
services:
worker:
image: myoung34/github-runner:latest
environment:
ORG_NAME: xxxx
ORG_URL: xxxx
RUNNER_NAME: xxxx
RUNNER_TOKEN: xxxx
RUNNER_WORKDIR: /tmp/runner/work
CONFIGURED_ACTIONS_RUNNER_FILES_DIR: /runner/data # Required for persistence
DISABLE_AUTOMATIC_DEREGISTRATION: true
DISABLE_AUTO_UPDATE: true
RUNNER_SCOPE: 'org'
LABELS: linux,x64
security_opt:
- label:disable
volumes:
- '/var/run/docker.sock:/var/run/docker.sock'
- '/runner/data:/runner/data'
- '/tmp/runner:/tmp/runner'
About once a day the runners will try to update themselves and then shut down and never come back. Currently we don't need them to update so we apply the no-update flag. However they will still try to update regardless.
This seems to be working as expected It shows the flag is disabled, and It is not updating from 2.331 to 2.332
➜ ~ docker run -e ACCESS_TOKEN=ghp_redact -e DISABLE_AUTO_UPDATE=true -e REPO_URL=https://github.com/myoung34/docker-github-actions-runner --rm myoung34/github-runner:2.331.0
Runner reusage is disabled
Obtaining the token of the runner
Disable auto update option is enabled
Configuring
--------------------------------------------------------------------------------
| ____ _ _ _ _ _ _ _ _ |
| / ___(_) |_| | | |_ _| |__ / \ ___| |_(_) ___ _ __ ___ |
| | | _| | __| |_| | | | | '_ \ / _ \ / __| __| |/ _ \| '_ \/ __| |
| | |_| | | |_| _ | |_| | |_) | / ___ \ (__| |_| | (_) | | | \__ \ |
| \____|_|\__|_| |_|\__,_|_.__/ /_/ \_\___|\__|_|\___/|_| |_|___/ |
| |
| Self-hosted runner registration |
| |
--------------------------------------------------------------------------------
# Authentication
√ Connected to GitHub
# Runner Registration
√ Runner successfully added
# Runner settings
√ Settings Saved.
√ Connected to GitHub
Current runner version: '2.331.0'
2026-03-12 13:13:12Z: Listening for Jobs
^CExiting...
Caught INT - Deregistering runner
# Runner removal
√ Runner removed successfully
√ Removed .credentials
√ Removed .runner