Skip to content

ci: tag latest on every push to master, as the fork makes no releases - #11

Merged
Project516 merged 1 commit into
masterfrom
ci/latest-on-master
Nov 24, 2026
Merged

Project516 merged 1 commit into
masterfrom
ci/latest-on-master

Conversation

@Project516

Copy link
Copy Markdown
Owner

Since the dated release scheme came in with #10, latest only moves when the Release workflow runs. This fork doesn't make releases, so latest stayed at the last commit before #10, and the README's docker run ...:latest lines pulled an old image.

Every push to master now tags latest along with dev and sha-<commit>. The -mimalloc variants follow. If a release ever comes after a push, it still tags latest as before. The README tag list now says this.

The workflow file is in the Container build's paths, so merging this builds master again and moves latest to it.

@coderabbitai

coderabbitai Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Summary

Summary by CodeRabbit

  • New Features
    • Docker images built from the latest master commit without a release version now receive both dev and latest tags, alongside the short commit SHA tag.
  • Documentation
    • Updated the README to clarify that latest points to the newest master commit unless a newer release exists.

For a master push without a release version, the workflow now adds both dev and latest tags. The README updates its description of which image the latest tag points to.

Changes: Latest image tag

Layer / File(s) Summary
Tagging rule and documentation
.github/workflows/main-docker.yml, README.md
The workflow adds latest alongside dev for master pushes without a release version. The README says latest points to the newest master commit unless a newer release exists.

Estimated code review effort: 2 (Simple) | ~5 minutes

Change: Bug fix

Possibly related PRs

  • Project516/redlib#10: Introduced the dated release scheme and Release workflow that this change updates to add the latest tag for qualifying master pushes.

Suggested reviewers: nachtalb

Merge Risk: Minimal · up to c5838

This change makes the latest image tag follow master pushes, as the README now describes. No concrete merge-blocking risk was identified.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title names the main change: the CI workflow now tags latest on every push to master, because the fork makes no releases. It matches the raw summary, which says pushes to master without a re…
Description check Passed The description states the problem: latest only moved on Release runs after the dated release scheme in #10, so the README's latest commands pulled an old image. It then describes the workflow cha…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title names the main change: the CI workflow now tags latest on every push to master, because the fork makes no releases. It matches the raw summary, which says pushes to master without a release version now add latest alongside dev.

Full details: Description check

Explanation

The description states the problem: latest only moved on Release runs after the dated release scheme in #10, so the README's latest commands pulled an old image. It then describes the workflow change (latest on every master push, -mimalloc variants, release behavior unchanged) and the README tag list update. Both match the raw summary and objectives.

Finishing Touches

Simplify code

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

A rabbit checks the tags at dawn,
dev and latest now appear.
A fresh master image hops along,
While newer releases still stay clear.
The README tells where latest points,
And rabbit trots through fields of green.

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: e22e9d15-3c27-4998-ac43-4c99c9aabda0
Commits

Reviewing files that changed from the base of the PR and between be6d605 and c583882.

Files selected for processing: 2

  • .github/workflows/main-docker.yml
  • README.md

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

Recent review details

Context from checks skipped due to timeout: 1

  • GitHub Check: CodeRabbit
Additional context used

zizmor (1.32.0)

.github/workflows/main-docker.yml

[warning] 1-355: overly broad permissions (excessive-permissions): default permissions used due to no permissions: block

(excessive-permissions)

[error] 188-197: dangerous use of environment file (github-env): write to GITHUB_ENV may allow code execution

(github-env)

Additional comments: 1

.github/workflows/main-docker.yml: 1

195-195: Data Integrity & Integration

The reported ordering, where an older master run publishes latest after a newer one, is prevented by the workflow's concurrency configuration. A newer master push cancels the in-progress older run, including its merge job, so the older run does not replace latest.

@project516-review-bot project516-review-bot Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

This PR modifies the Docker build workflow to tag latest on every push to master (in addition to dev and sha-<commit>), since this fork does not create releases. The README is updated to document that latest now tracks the newest commit on master, or the newest release if one occurs after a push. The change is minimal and matches the stated intent.


review-bot, model nvidia/nemotron-3-ultra-550b-a55b:free, verdict approve

@Project516
Project516 merged commit aaaedaf into master Nov 24, 2026
2 checks passed
@Project516
Project516 deleted the ci/latest-on-master branch November 24, 2026 01:20
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.

1 participant