mirror of
https://github.com/element-hq/synapse.git
synced 2026-03-30 19:25:46 +00:00
Fix Build and push complement image CI job pointing to non-existent image (#19523)
❌ https://github.com/element-hq/synapse/actions/runs/22609655282/job/65509315002#step:8:39 ``` Error response from daemon: No such image: complement-synapse:latest ``` Regressed in https://github.com/element-hq/synapse/pull/19475#discussion_r2823157623 where we updated `complement.sh` to build `localhost/complement-synapse` instead of `complement-synapse`.
This commit is contained in:
@@ -38,17 +38,22 @@ set -e
|
||||
# Tag local builds with a dummy registry namespace so that later builds may reference
|
||||
# them exactly instead of accidentally pulling from a remote registry.
|
||||
#
|
||||
# This is important as some storage drivers/types prefer remote images over local
|
||||
# (`containerd`) which causes problems as we're testing against some remote image that
|
||||
# doesn't include all of the changes that we're trying to test (be it locally or in a PR
|
||||
# in CI). This is spawning from a real-world problem where the GitHub runners were
|
||||
# This is important as some Docker storage drivers/types prefer remote images over local
|
||||
# (like `containerd`) which causes problems as we're testing against some remote image
|
||||
# that doesn't include all of the changes that we're trying to test (be it locally or in
|
||||
# a PR in CI). This is spawning from a real-world problem where the GitHub runners were
|
||||
# updated to use Docker Engine 29.0.0+ which uses `containerd` by default for new
|
||||
# installations.
|
||||
#
|
||||
# XXX: If the Docker image name changes, don't forget to update
|
||||
# `.github/workflows/push_complement_image.yml` as well
|
||||
LOCAL_IMAGE_NAMESPACE=localhost
|
||||
|
||||
# The image tags for how these images will be stored in the registry
|
||||
SYNAPSE_IMAGE_PATH="$LOCAL_IMAGE_NAMESPACE/synapse"
|
||||
SYNAPSE_WORKERS_IMAGE_PATH="$LOCAL_IMAGE_NAMESPACE/synapse-workers"
|
||||
# XXX: If the Docker image name changes, don't forget to update
|
||||
# `.github/workflows/push_complement_image.yml` as well
|
||||
COMPLEMENT_SYNAPSE_IMAGE_PATH="$LOCAL_IMAGE_NAMESPACE/complement-synapse"
|
||||
|
||||
SYNAPSE_EDITABLE_IMAGE_PATH="$LOCAL_IMAGE_NAMESPACE/synapse-editable"
|
||||
|
||||
Reference in New Issue
Block a user