Add gha-runner image (build tools for self-hosted CI)#7
Merged
Conversation
02a7d61 to
86698cb
Compare
The minimal actions/actions-runner image lacks tools my home cluster's self-hosted workflows need (make/build-essential for Makefile targets + Python C-extensions, libatomic1 for pnpm, the docker compose plugin for compose smoke tests), so lint/test jobs fail on the runners. Add an arm64-only gha-runner image (FROM actions/actions-runner + those packages), built and published by the standard matrix (publish.yml) like every other image. arm64-only because the ARC runners are aarch64. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
86698cb to
0eff56d
Compare
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.
Why
My home cluster's workflows now run on the self-hosted
arc-runner-set, but the minimalactions/actions-runnerimage lacks toolsubuntu-latestships, so jobs fail:make(+build-essentialfor Python C-extensions)libatomic.so.1(pnpm's prebuilt binary)docker composepluginWhat
A new matrix image
images/gha-runner/(Dockerfile+image.toml), built and published by the existingpublish.ymlmatrix like every other image —FROM actions/actions-runner:2.335.1+ those packages, arm64-only (platforms = ["linux/arm64"], since the runners are aarch64).Sequence to land it
publish.ymlbuilds + pushesghcr.io/mgarratt/docker-images/gha-runner:latest(public, since this repo is public).🤖 Generated with Claude Code