Skip to content

Comments

fix(docker): use fixed-length git short hash (9 chars) in image tags#1488

Merged
thewtex merged 1 commit intoInsightSoftwareConsortium:mainfrom
thewtex:69db-in-consistent-do
Feb 17, 2026
Merged

fix(docker): use fixed-length git short hash (9 chars) in image tags#1488
thewtex merged 1 commit intoInsightSoftwareConsortium:mainfrom
thewtex:69db-in-consistent-do

Conversation

@thewtex
Copy link
Member

@thewtex thewtex commented Feb 13, 2026

git rev-parse --short without an explicit length produces a variable-length hash depending on the local object database. This caused inconsistent Docker image tags between ARM and AMD64 builds (e.g. 2a34266 vs 2a34266), breaking multi-arch manifest pushes.

Pin to --short=9 in all tag-construction sites for consistency.

git rev-parse --short without an explicit length produces a
variable-length hash depending on the local object database. This
caused inconsistent Docker image tags between ARM and AMD64 builds
(e.g. 2a34266 vs 2a34266), breaking multi-arch manifest pushes.

Pin to --short=9 in all tag-construction sites for consistency.
@thewtex thewtex merged commit beb339a into InsightSoftwareConsortium:main Feb 17, 2026
81 checks passed
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