Update Ruby and Ubuntu versions#172
Merged
Merged
Conversation
README and Docker Hub overview already advertise rubylang/ruby:latest as the 4.0 series, but make_tags has been emitting the latest manifest from LATEST_RUBY_VERSION = "3.4", so latest was still tracking 3.4. Bump the constant so the implementation matches the documented behavior.
Build resolute images alongside noble and jammy and list them in the README. LATEST_UBUNTU_VERSION stays on noble for now so that unsuffixed tags like rubylang/ruby:4.0 and :latest keep their existing OS base while resolute is exercised in CI.
3.2 / 3.3 / 3.4 each have new patch releases since this matrix was last updated, and 4.0 is now stable so testing against 4.0.0-preview2 is no longer meaningful.
The previous unanchored regex matched any ruby_version starting with the LATEST_RUBY_VERSION prefix, so a manual or scheduled prerelease build such as 4.0.0-preview2 or 4.0.0-rc1 would create and push rubylang/ruby:latest and repoint the public tag at a preview image. Require the input to be a full x.y.z stable form before publishing the latest manifest.
There was a problem hiding this comment.
Pull request overview
Updates the Docker image build/publish configuration and documentation to reflect Ruby 4.0 as the latest stable series and to add Ubuntu “resolute” (26.04) alongside existing noble/jammy images.
Changes:
- Document Ubuntu 26.04 (“resolute”) tags and clarify that unsuffixed tags track noble.
- Update manifest publishing logic so the
latesttag is created only for patch releases of the configured latest Ruby series (now 4.0.x). - Expand GitHub Actions build/test matrices to include
resoluteand refresh tested Ruby patch versions.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
README.md |
Adds “resolute” (26.04) image tags and clarifies unsuffixed tag behavior. |
Rakefile |
Sets latest Ruby series to 4.0 and tightens latest tag manifest creation to patch versions only. |
.github/workflows/test.yml |
Adds resolute to the test matrix and updates Ruby versions under test. |
.github/workflows/build.yml |
Adds resolute to build and deploy matrices for multi-arch images. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.
Added Ubuntu 26.04(resolute) to our daily build. But
latesttag still pointsnoblewhile a few month. I updatelatesttag toresolutewhen 26.04.1 is released.