feat(gha-runners): dockerized self-hosted runner setup#65
Merged
Conversation
Fresh Docker named volumes mount as root:root, so the `runner` user couldn't write to /home/runner/runner on first start and config.sh failed with permission denied. Entrypoint now starts as root, chowns the volume, and re-execs itself as `runner` via sudo. Also stop scrubbing RUNNER_TOKEN from env files after start — the token is harmless after 1h and scrubbing made systemd's auto-restart unable to recover when config.sh failed on the first attempt. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Contributor
wavekat-eason
pushed a commit
that referenced
this pull request
May 19, 2026
🤖 I have created a release *beep* *boop* --- ## [0.0.23](wavekat-com-v0.0.22...wavekat-com-v0.0.23) (2026-05-19) ### Features * **gha-runners:** dockerized self-hosted runner setup ([#65](#65)) ([120fd7e](120fd7e)) * self-hosted GHA runners on aoc-m3l + role-label workflow routing ([#64](#64)) ([d2d8415](d2d8415)) ### Bug Fixes * **gha-runners:** install gh CLI and Rust toolchain in docker image ([#66](#66)) ([9b167e7](9b167e7)) * **star-tracker:** de-inflate chart-view counts + per-repo breakdown ([#62](#62)) ([954f9d4](954f9d4)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
scripts/docker/+scripts/setup-gha-runners-docker.sh)Test plan
scripts/setup-gha-runners-docker.shon a host and confirm runner registersscripts/uninstall-gha-runners-docker.shand confirm clean removal🤖 Generated with Claude Code