Skip to content

ci: skip deployment PRs when platform image is unchanged - #1303

Open
addshore wants to merge 1 commit into
wbstack:mainfrom
addshore:ci-skip-unchanged-image-prs
Open

addshore wants to merge 1 commit into
wbstack:mainfrom
addshore:ci-skip-unchanged-image-prs

Conversation

@addshore

@addshore addshore commented Oct 16, 2026 •

Copy link
Copy Markdown
Collaborator

Compose-only changes can currently generate deployment PRs even when the runnable image does not need to change. Compare the new linux/amd64 image manifest digest with each environment's configured image, and update values and create deployment PRs only where the digests differ.

This should be considered in combination with either #1301 or #1302
These tackle not introducing file changes that are not needed into the images
And this PR then tackles comparing generated images at an appropriate level.

Move generated revision/version/time metadata from image labels to index annotations so it remains available without changing the runnable image. Keep SHA tags and provenance. Comparison failures stop the job; staging/local and production are checked independently.
(As far as I can see the labels themselves are not directly used in this repo or the deploy repo?)

Real local Docker builds with the either allowlist .dockerignore reproduced the exact Compose change from 7294d3d: index digests differed, platform digests matched

I also appreciate if / as the team moves towards other auto deploy methods, this might not be wanted, however it could be a useful little increment for now?
(Not sure how often those generated PRs end up needing to be closed)

@addshore
addshore force-pushed the ci-skip-unchanged-image-prs branch from 0942985 to dda7d6f Compare October 16, 2026 23:47
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

⌂ Proxy