Use ghcr.io/homebrew/brew:main for tests and bottling#21779
Merged
MikeMcQuaid merged 1 commit intomainfrom Mar 20, 2026
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Updates Homebrew’s GitHub Actions Linux container image references to use the consolidated ghcr.io/homebrew/brew:main image, aligning runner specs and generated CI matrices with the new canonical tag used for Homebrew’s Docker-based CI/testing.
Changes:
- Switch Linux runner container image in
GitHubRunnerMatrixfromghcr.io/homebrew/ubuntu22.04:maintoghcr.io/homebrew/brew:main. - Update
generate-cask-ci-matrixLinux container image output toghcr.io/homebrew/brew:main. - Update the Linux x86_64
test-botjob container in.github/workflows/tests.ymltoghcr.io/homebrew/brew:main.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
Library/Homebrew/github_runner_matrix.rb |
Uses ghcr.io/homebrew/brew:main for Linux runner container specs produced for tap CI matrices. |
Library/Homebrew/dev-cmd/generate-cask-ci-matrix.rb |
Emits ghcr.io/homebrew/brew:main for Linux cask CI jobs. |
.github/workflows/tests.yml |
Runs Linux x86_64 test-bot inside ghcr.io/homebrew/brew:main instead of the Ubuntu 22.04 tag. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
ZhongRuoyu
approved these changes
Mar 20, 2026
carlocab
approved these changes
Mar 20, 2026
MikeMcQuaid
approved these changes
Mar 20, 2026
Member
MikeMcQuaid
left a comment
There was a problem hiding this comment.
Looks good when comment addressed!
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.
brew lgtm(style, typechecking and tests) with your changes locally?Will need to check on any regressions in Homebrew/core afterward.
In theory,
ghcr.io/homebrew/ubuntu22.04:mainshould be identical toghcr.io/homebrew/brew:mainfor now.