fix(ci): remove excessive SHA tag from Docker image releases#278
Merged
AbdelrhmanHamouda merged 1 commit intomasterfrom Feb 13, 2026
Merged
fix(ci): remove excessive SHA tag from Docker image releases#278AbdelrhmanHamouda merged 1 commit intomasterfrom
AbdelrhmanHamouda merged 1 commit intomasterfrom
Conversation
Remove the full commit SHA tag from the release workflow's Docker image
tagging strategy. This eliminates registry pollution while maintaining
full traceability through version tags and Docker image digests.
Changes:
- Remove `,${{ github.sha }}` from ko build tags parameter
- Future releases will only create version and latest tags
Rationale:
- Version tags already provide full traceability (immutable Git tags)
- Docker images have SHA256 digests for absolute immutability needs
- SHA tags (40-char) clutter DockerHub without adding practical value
- Users prefer semantic versions for deployments and rollbacks
Introduced in: c68b631 (Go operator CI/CD rewrite, Jan 2026)
Coverage summary from CodacySee diff coverage on Codacy
Coverage variation details
Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: Diff coverage details
Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: See your quality gate settings Change summary preferences |
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.
Summary
Remove the full commit SHA tag from the release workflow's Docker image tagging strategy to eliminate registry pollution while maintaining full traceability.
Changes
,${{ github.sha }}fromko buildtags parameter in.github/workflows/release.yamlv2.0.0) andlatestRationale
The SHA tag was introduced in commit
c68b6311(Jan 20, 2026) during the Go operator CI/CD rewrite. While SHA tags can provide traceability, they create unnecessary registry pollution because:Impact
Verification Plan
After merge, verify with next release:
latesttags appear on DockerHubdocker pull lotest/locust-k8s-operator:<version-tag>Optional Follow-up
Consider cleaning up existing SHA-based tags from DockerHub manually or via API to reduce clutter.