fix(ci): revert Docker to Node 22 for arm64 multi-platform builds#405
Merged
Conversation
Node 26 breaks the multi-platform push step: pnpm install fails on linux/arm64 when native modules (utf-8-validate) compile under QEMU. Keep anchore/scan-action v7.4.0 from #404. Co-authored-by: Cursor <cursoragent@cursor.com>
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.
Summary
Dockerfileand.nvmrcfrom Node 26 back to Node 22anchore/scan-actionv7.4.0 from fix(ci): align Docker Node 26 and Anchore scan with role-manager #404 (that fix worked)Context
After #404 merged, staging got past the Anchore scan but failed on Build and push Docker image (
linux/arm64).pnpm installdies compiling native deps (utf-8-validate) under QEMU withgyp_main.py: Permission denied. The amd64-only scan build succeeded; only the multi-platform push step failed.Node 22 was working for arm64 before #404. Role-manager can use Node 26 with a smaller dependency tree; ui-builder needs a separate migration path.
Test plan
Made with Cursor