WIP - Testing gha/build images#4098
Draft
tobybellwood wants to merge 6 commits into
Draft
Conversation
added 6 commits
May 11, 2026 12:08
…LS handshake failures
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces a new GitHub Actions workflow for building and publishing multi-architecture Docker images, and updates several Dockerfiles to improve multi-arch build support and reliability. The changes focus on standardizing build environments, ensuring consistent architecture targeting, and improving build robustness.
CI/CD and Build Improvements:
.github/workflows/build-images.ymlto automate building and publishing Docker images for different branches and tags, supporting multi-architecture builds and mirroring images to DockerHub and GHCR.yarnnetwork timeout, improving reliability in environments with slow network connections.Dockerfile Multi-Architecture and Build Consistency:
Updated all Go-based service and task image Dockerfiles (
services/actions-handler,services/api-sidecar-handler,services/backup-handler,services/logs2notifications,taskimages/activestandby,taskimages/projectclone) to:--platform=linux/amd64for the builder stage to ensure native builds and avoid QEMU-related issues.TARGETARCHbuild argument for the GoGOARCHenvironment variable, enabling correct cross-compilation for multi-arch images. [1] [2] [3] [4] [5] [6]Updated the
taskimages/projectcloneDockerfile to also apply these changes to thelagoon-syncbuild stage.Updated the
services/keycloakDockerfile to force the Maven build stage to uselinux/amd64, avoiding TLS handshake failures under QEMU emulation and ensuring the resulting JAR is architecture-neutral.