Skip to content

ci: publish stable rolling image tags - #2184

Merged
TerryHowe merged 1 commit into
oras-project:mainfrom
Soundcreates:soundcreates/issue-2173-rolling-tags
Sep 22, 2026
Merged

TerryHowe merged 1 commit into
oras-project:mainfrom
Soundcreates:soundcreates/issue-2173-rolling-tags

Conversation

@Soundcreates

Copy link
Copy Markdown
Contributor

What this PR does / why we need it:

Publishes predictable rolling tags for stable ORAS container images while preserving exact release tags. A stable release can update vX.Y, vX, and latest only when it is the highest stable version in that scope. Prereleases and backports keep the rolling tags unchanged, so they cannot move users backwards.

The README now documents the image tag contract.

Which issue(s) this PR fixes (optional, in fixes #<issue number> format):
Fixes #2173

Validation:

  • Checked the workflow shell blocks with bash -n
  • Exercised stable release, patch release, prerelease, and backport tag selection
  • Checked trailing whitespace with git diff --check
  • Full Go tests were not run locally because Go is unavailable in the environment

Please check the following list:

  • Does affected code have tests?
  • Does this require documentation update?
  • Does this introduce breaking changes?
  • Do all new files have license header?

@codecov

codecov Bot commented Sep 21, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 87.81%. Comparing base (bc28b9c) to head (a8c5b8d).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2184      +/-   ##
==========================================
+ Coverage   87.78%   87.81%   +0.03%     
==========================================
  Files         139      139              
  Lines        5714     5714              
==========================================
+ Hits         5016     5018       +2     
+ Misses        417      415       -2     
  Partials      281      281              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Comment thread .github/workflows/release-ghcr.yml Resolved
Comment thread .github/workflows/release-ghcr.yml Resolved
@Soundcreates

Copy link
Copy Markdown
Contributor Author

Addressed the review feedback in commit 39eda45. I added the requested concurrency block to the GHCR release workflow and escaped the dots in the minor-version regex. I’ve also validated the workflow changes. Could you please take another look?t

@TerryHowe

Copy link
Copy Markdown
Member

Last three commits were not signed off I'm afraid https://github.com/oras-project/oras/pull/2184/checks?check_run_id=106630919260 maybe squash them to one commit.

Comment thread .github/workflows/release-ghcr.yml Resolved
@TerryHowe

Copy link
Copy Markdown
Member

Looks good other than that, thanks!

@Soundcreates
Soundcreates force-pushed the soundcreates/issue-2173-rolling-tags branch from 6ae27a4 to da1f548 Compare September 22, 2026 14:34
@TerryHowe

Copy link
Copy Markdown
Member

@Soundcreates
Soundcreates force-pushed the soundcreates/issue-2173-rolling-tags branch from da1f548 to 8f06db2 Compare September 22, 2026 14:40
Soundcreates added a commit to Soundcreates/oras that referenced this pull request Sep 22, 2026
Signed-off-by: Shantanav Mukherjee <[email protected]>

Co-authored-by: somaz <[email protected]>

Co-authored-by: Terry Howe <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
@github-actions
github-actions Bot force-pushed the soundcreates/issue-2173-rolling-tags branch from f43c49b to a8c5b8d Compare September 22, 2026 14:53
@Soundcreates

Copy link
Copy Markdown
Contributor Author

Hi there, I have fixed the issue which was causing DCO to fail.

@TerryHowe TerryHowe left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

/lgtm

@TerryHowe
TerryHowe merged commit 44e831a into oras-project:main Sep 22, 2026
9 checks passed
@TerryHowe

Copy link
Copy Markdown
Member

Thanks!

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.

Consider pushing the latest tag for the docker image

2 participants