Skip to content

feat: build release images natively on arm64 (no QEMU)#11

Merged
DeepDiver1975 merged 1 commit into
masterfrom
feat/main-native-build
Jun 3, 2026
Merged

feat: build release images natively on arm64 (no QEMU)#11
DeepDiver1975 merged 1 commit into
masterfrom
feat/main-native-build

Conversation

@DeepDiver1975

Copy link
Copy Markdown
Contributor

Summary

Switches the main Docker CI workflow (.github/workflows/main.yml) from the QEMU-emulated multiarch build to the native per-arch build flow, matching what rolling.yml already does (PR #10).

  • amd64 builds on ubuntu-latest, arm64 builds on ubuntu-24.04-arm
  • per-arch digests are merged into a manifest list
  • no more emulating the arm64 Go/CGO build under QEMU → much faster arm64 builds

The two reusable workflows (docker-build.ymldocker-build-native.yml) share an identical workflow_call interface, so this is purely a build-engine swap — a single-line uses: change with no input changes. GHA cache scoping is handled per-arch automatically by the native workflow.

Test plan

  • On this PR, the build job fans out per-arch jobs for each release version (8.1.0-rc.1, 8.0.4), runs Trivy + the oCIS smoke test (https://localhost:9200/status.php, version verified via .productversion), and skips push (push: false)
  • arm64 build runs natively (no QEMU step in the logs)

🤖 Generated with Claude Code

Switch the main Docker CI workflow from the QEMU-emulated multiarch
build (docker-build.yml) to the native per-arch build flow
(docker-build-native.yml), matching rolling.yml.

amd64 builds on ubuntu-latest and arm64 builds on ubuntu-24.04-arm,
then the per-arch digests are merged into a manifest list. This avoids
emulating the arm64 Go/CGO build under QEMU.

The two reusable workflows share an identical workflow_call interface,
so this is a build-engine swap with no input changes. GHA cache scoping
is handled per-arch automatically by the native workflow.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Signed-off-by: Thomas Müller <1005065+DeepDiver1975@users.noreply.github.com>
@DeepDiver1975 DeepDiver1975 merged commit 00bb984 into master Jun 3, 2026
8 checks passed
@DeepDiver1975 DeepDiver1975 deleted the feat/main-native-build branch June 3, 2026 11:22
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