Adds more published docker image tags#5417
Conversation
Greptile SummaryThis PR adds immutable per-build tags (
Confidence Score: 3/5Not safe to merge as-is — main branch builds lose their only immutable per-build identifier, creating a traceability gap for production images. A single P1 finding is present: the main branch, which is the production release path, gets no immutable per-build tag now that the SHA tag is removed. The develop and release branches correctly receive the new run+sha tags, but main only has mutable (latest) and semi-mutable (v) tags. This is a real regression in auditability for the most critical branch. .github/workflows/publish-images.yaml — specifically the Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[Push to branch] --> B{BRANCH_NAME?}
B -- develop --> C["TAGS += IMAGE:latest-develop\nTAGS += IMAGE:latest-develop-run#-sha8"]
B -- main --> D["TAGS += IMAGE:latest\nTAGS += IMAGE:v<VERSION>\n⚠️ No immutable per-build tag"]
B -- "release/*" --> E["TAGS += IMAGE:latest-release-X\nTAGS += IMAGE:latest-release-X-run#-sha8"]
B -- "*" --> F["echo skipping\nexit 0 — no build"]
C --> G[docker buildx build --push]
D --> G
E --> G
|
# Description Adds per-build immutable tags to the Docker images published by [.github/workflows/publish-images.yaml](.github/workflows/publish-images.yaml), and drops the bare commit-SHA tag (now redundant). New tags published: - `develop` builds: `$IMAGE:latest-develop-<run#>-<sha-stub>` (in addition to the existing `$IMAGE:latest-develop`) - `release/X` builds: `$IMAGE:latest-release-X-<run#>-<sha-stub>` (in addition to the existing `$IMAGE:latest-release-X`) Removed: `$IMAGE:<full-sha>`. The new run-number + short-SHA tags provide the same per-build immutability with a more readable tag name. `main` tagging (`$IMAGE:latest`, `$IMAGE:v<VERSION>`) is unchanged aside from the dropped SHA tag. The tagging-scheme comment in the workflow was updated to match. Fixes # (issue) ## Type of change - New feature (non-breaking change which adds functionality) ## Checklist - [x] I have read and understood the [contribution guidelines](https://isaac-sim.github.io/IsaacLab/main/source/refs/contributing.html) - [x] I have run the [`pre-commit` checks](https://pre-commit.com/) with `./isaaclab.sh --format` - [x] I have made corresponding changes to the documentation - [x] My changes generate no new warnings - [ ] I have added tests that prove my fix is effective or that my feature works - [ ] I have updated the changelog and the corresponding version in the extension's `config/extension.toml` file - [x] I have added my name to the `CONTRIBUTORS.md` or my name already exists there
Description
Adds per-build immutable tags to the Docker images published by .github/workflows/publish-images.yaml, and drops the bare commit-SHA tag (now redundant).
New tags published:
developbuilds:$IMAGE:latest-develop-<run#>-<sha-stub>(in addition to the existing$IMAGE:latest-develop)release/Xbuilds:$IMAGE:latest-release-X-<run#>-<sha-stub>(in addition to the existing$IMAGE:latest-release-X)Removed:
$IMAGE:<full-sha>. The new run-number + short-SHA tags provide the same per-build immutability with a more readable tag name.maintagging ($IMAGE:latest,$IMAGE:v<VERSION>) is unchanged aside from the dropped SHA tag.The tagging-scheme comment in the workflow was updated to match.
Fixes # (issue)
Type of change
Checklist
pre-commitchecks with./isaaclab.sh --formatconfig/extension.tomlfileCONTRIBUTORS.mdor my name already exists there