Skip to content

fix(docker): use rust-musl-cross builder for riscv64 multi-arch - #153

Merged
AlexanderWagnerDev merged 1 commit into
mainfrom
cursor/ci-autofix-automation-5f6e
Aug 11, 2026
Merged

fix(docker): use rust-musl-cross builder for riscv64 multi-arch#153
AlexanderWagnerDev merged 1 commit into
mainfrom
cursor/ci-autofix-automation-5f6e

Conversation

@cursor

@cursor cursor Bot commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

Summary

Fixes the Release workflow build & push docker image job failing on linux/riscv64.

Root cause

PR #151 switched the Docker builder from rust:latest to rust:alpine for musl/Alpine runtime compatibility. The official rust:alpine image has no linux/riscv64 manifest, so multi-arch builds fail immediately when resolving the builder image.

Fix

Use ghcr.io/rust-cross/rust-musl-cross:${TARGETARCH}-musl as the builder (with BUILDPLATFORM pinning) so amd64, arm64, and riscv64 all compile musl binaries for the existing Alpine runtime stage.

CI

  • Release workflow docker-multiarch build should pass for all three platforms.
Open in Web View Automation 

View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

rust:alpine has no riscv64 manifest, so Release docker-multiarch builds
failed immediately on linux/riscv64. Switch the builder to
ghcr.io/rust-cross/rust-musl-cross with TARGETARCH tags so amd64, arm64,
and riscv64 all compile musl binaries for the Alpine runtime.

Co-authored-by: Alexander Wagner <info@alexanderwagnerdev.com>
@AlexanderWagnerDev
AlexanderWagnerDev marked this pull request as ready for review August 11, 2026 12:10
@qodo-code-review

Copy link
Copy Markdown

ⓘ Qodo reviews are paused because your trial has ended. Ask your workspace admin to add credits to resume reviews. Manage billing

@AlexanderWagnerDev
AlexanderWagnerDev merged commit 35a2c05 into main Aug 11, 2026
13 checks passed
@AlexanderWagnerDev
AlexanderWagnerDev deleted the cursor/ci-autofix-automation-5f6e branch August 11, 2026 12:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants