Skip to content

fix: #2354 Use github.sha expression for image revision label - #2355

Merged
lbroudoux merged 1 commit into
masterfrom
fix/2354-image-revision-label
Oct 16, 2026
Merged

lbroudoux merged 1 commit into
masterfrom
fix/2354-image-revision-label

Conversation

@yada

@yada yada commented Oct 8, 2026

Copy link
Copy Markdown
Member

Fixes #2354

The org.opencontainers.image.revision label was set to ${GITHUB_SHA}, which is not expanded in the labels input of docker/build-push-action (shell variables are not interpolated there), so the image ended up with the literal ${GITHUB_SHA} string. Same fix as reshaprio/reshapr#547: use the ${{ github.sha }} expression in the 4 image builds of build-container.yml.

AI disclosure: this change was prepared with AI assistance (Claude Code); it is the human author's responsibility to review and test.

Generated with Claude Code

@sonarqubecloud

sonarqubecloud Bot commented Oct 8, 2026

Copy link
Copy Markdown

@lbroudoux lbroudoux 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

@lbroudoux lbroudoux added this to the 1.16.0 milestone Oct 16, 2026
@lbroudoux
lbroudoux merged commit f4ae6d9 into master Oct 16, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

org.opencontainers.image.revision label is literally "${GITHUB_SHA}", not the actual commit SHA

3 participants