#613 Speed up client-build: hoist ng build out of Docker#614
Merged
Conversation
Drops the build-client → build-image matrix → merge shape in favor of a single build-and-push job. ng build still runs once natively on amd64, then one buildx --platform linux/amd64,linux/arm64 push produces the multi-arch manifest directly — no per-arch tags, no imagetools merge. The per-arch work left in Dockerfile.prebuilt is just apk add gettext and static COPYs, so native runners bought nothing here. All real CPU work (ng build) already runs native on amd64 outside Docker.
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.
Changes
Mirrors the #610 scylla idea (build once native, avoid QEMU on real work) but goes further — collapses the client workflow to a single job. ng build runs once on an amd64 runner, then one buildx push produces the multi-arch manifest directly.
platforms: linux/amd64,linux/arm64Notes
cache: "npm"on setup-node. ng build dominates build-client wall time and the cache burns runner storage on a hash that turns over every lockfile change. Happy to add either back if a reviewer wants strict AC parity.Test Cases
Checklist
Closes #613