Skip to content

Use ghcr.io/homebrew/brew:main for tests and bottling#21779

Merged
MikeMcQuaid merged 1 commit intomainfrom
default-container
Mar 20, 2026
Merged

Use ghcr.io/homebrew/brew:main for tests and bottling#21779
MikeMcQuaid merged 1 commit intomainfrom
default-container

Conversation

@cho-m
Copy link
Copy Markdown
Member

@cho-m cho-m commented Mar 19, 2026

  • Have you followed the guidelines in our Contributing document?
  • Have you checked to ensure there aren't other open Pull Requests for the same change?
  • Have you added an explanation of what your changes do and why you'd like us to include them?
  • Have you written new tests for your changes? Here's an example.
  • Have you successfully run brew lgtm (style, typechecking and tests) with your changes locally?

  • AI was used to generate or assist with generating this PR. Please specify below how you used AI to help you, and what steps you have taken to manually verify the changes.

Will need to check on any regressions in Homebrew/core afterward.

In theory, ghcr.io/homebrew/ubuntu22.04:main should be identical to ghcr.io/homebrew/brew:main for now.

Copilot AI review requested due to automatic review settings March 19, 2026 19:35
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 GitHubRunnerMatrix from ghcr.io/homebrew/ubuntu22.04:main to ghcr.io/homebrew/brew:main.
  • Update generate-cask-ci-matrix Linux container image output to ghcr.io/homebrew/brew:main.
  • Update the Linux x86_64 test-bot job container in .github/workflows/tests.yml to ghcr.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.

@cho-m cho-m mentioned this pull request Mar 19, 2026
17 tasks
Copy link
Copy Markdown
Member

@MikeMcQuaid MikeMcQuaid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good when comment addressed!

@MikeMcQuaid MikeMcQuaid added this pull request to the merge queue Mar 20, 2026
Merged via the queue into main with commit 4f89431 Mar 20, 2026
42 checks passed
@MikeMcQuaid MikeMcQuaid deleted the default-container branch March 20, 2026 17:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants