Skip to content

fix: use native ARM64 runners instead of QEMU to prevent CI timeout#10

Merged
tian-im merged 1 commit into
mainfrom
separate-builds
Jun 22, 2026
Merged

fix: use native ARM64 runners instead of QEMU to prevent CI timeout#10
tian-im merged 1 commit into
mainfrom
separate-builds

Conversation

@tian-im

@tian-im tian-im commented Jun 22, 2026

Copy link
Copy Markdown
Owner
  • build-and-push.yml: restructure into 3 jobs (meta → build matrix → merge)

    • Each platform builds NATIVELY on its own runner: amd64 on ubuntu-latest, arm64 on ubuntu-24.04-arm
    • No QEMU emulation needed — cuts build time from 30+ min to ~8 min
    • Platform-specific cache scopes avoid 'Unable to reserve cache' errors
    • Merge job uses 'docker buildx imagetools create' for multi-arch manifest
  • docker-build-test.yml: same matrix strategy for multi-platform test mode

    • Native single-platform path unchanged (PRs, fast)
    • Multi-platform dispatch uses native ARM runner instead of QEMU

- build-and-push.yml: restructure into 3 jobs (meta → build matrix → merge)
  - Each platform builds NATIVELY on its own runner:
    amd64 on ubuntu-latest, arm64 on ubuntu-24.04-arm
  - No QEMU emulation needed — cuts build time from 30+ min to ~8 min
  - Platform-specific cache scopes avoid 'Unable to reserve cache' errors
  - Merge job uses 'docker buildx imagetools create' for multi-arch manifest

- docker-build-test.yml: same matrix strategy for multi-platform test mode
  - Native single-platform path unchanged (PRs, fast)
  - Multi-platform dispatch uses native ARM runner instead of QEMU
@tian-im tian-im merged commit ba85567 into main Jun 22, 2026
3 checks passed
@tian-im tian-im deleted the separate-builds branch June 22, 2026 11:55
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.

1 participant