feat(CORE-4981): add multi-arch toggle to gitops template - #496
Merged
Conversation
…v8.2.1 gitops-github-action#159 merged and released as v8.2.1. Swap the placeholder branch-SHA pins on the new multi-arch build/merge jobs to the release tag, as noted in the PR's blocked-on section.
kaitimmer
marked this pull request as ready for review
September 2, 2026 14:33
kaitimmer
requested review from
a team,
0x46616c6b,
axdotl and
ricoberger
and removed request for
a team
September 2, 2026 14:33
0x46616c6b
requested changes
Sep 3, 2026
ricoberger
approved these changes
Sep 3, 2026
0x46616c6b
approved these changes
Sep 3, 2026
Contributor
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
What changed
New
multi-archinput (boolean, defaultfalse) ontemplate_gitops.yml. When enabled, the template fans out into a build matrix (amd64onubuntu-24.04,arm64onubuntu-24.04-arm) usingmultiarch-mode: build, then a merge job combines the digests viamultiarch-mode: mergeand runs the GitOps/Upwind steps as usual.Callers that do not set it keep the existing single
gitopsjob, unchanged and still pinned to v8.0.1 — same job id, same display name, so required status checks are unaffected.multiarch-artifact-nameis exposed too, so workflows building more than one image can keep their digests apart.Why it changed
Recovery/failover regions have no ARM capacity, so images deployed there must ship both
linux/amd64andlinux/arm64. Wiring the matrix into the shared template means consumers flip one boolean instead of restructuring their workflow.How to test it
Used here: https://github.com/Staffbase/slo-operator/pull/37
yamllint .github/workflows/passes. End to end: point a test repo at this branch withmulti-arch: trueand verifydocker buildx imagetools inspect <tag>lists both platforms — being validated now via Staffbase/slo-operator.The changes and/or the PR description has generated by with the help of OpenCode.