Skip to content

Build Synapse CI images from local intermediates - #970

Merged
devonh merged 1 commit into
mainfrom
fix-synapse-ci-local-images
Nov 26, 2026
Merged

devonh merged 1 commit into
mainfrom
fix-synapse-ci-local-images

Conversation

@devonh

@devonh devonh commented Nov 26, 2026

Copy link
Copy Markdown
Contributor

Since the GitHub runners moved to ubuntu 26.04, BuildKit resolves FROM matrixdotorg/synapse:latest to the image on Docker Hub instead of the one built in the previous step, so the Synapse job has been testing the latest Synapse release rather than the checked-out branch.

Tag the intermediate images under localhost/ and pass them via the Dockerfiles' FROM build arg, matching Synapse's own scripts-dev/complement.sh (element-hq/synapse#19475).

Found when trying to run a complement test fix that relies on Synapse develop having the matching Synapse fix in #963

Pull Request Checklist

Since the GitHub runners moved to Docker Engine 29+ (containerd image
store), BuildKit resolves `FROM matrixdotorg/synapse:latest` to the image
on Docker Hub instead of the one built in the previous step, so the
Synapse job has been testing the latest Synapse release rather than the
checked-out branch.

Tag the intermediate images under `localhost/` and pass them via the
Dockerfiles' `FROM` build arg, matching Synapse's own
`scripts-dev/complement.sh` (element-hq/synapse#19475).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FqDpJc3BsJKZHiyNovpN5o
@devonh
devonh marked this pull request as ready for review November 26, 2026 17:01
@devonh
devonh requested review from a team as code owners November 26, 2026 17:01
@devonh
devonh requested review from a team and reivilibre and removed request for a team November 26, 2026 17:01
@devonh
devonh merged commit c8177b3 into main Nov 26, 2026
6 checks passed
@devonh
devonh deleted the fix-synapse-ci-local-images branch November 26, 2026 17:44
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.

2 participants