feat: build rolling image natively on arm64 (no QEMU)#10
Merged
Conversation
Switch the rolling build from the emulated docker-build.yml to the new docker-build-native.yml reusable workflow, which builds each architecture on a native runner (arm64 on ubuntu-24.04-arm) instead of under QEMU. arm64 is now also Trivy-scanned and smoke-tested for the first time. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Signed-off-by: Thomas Müller <1005065+DeepDiver1975@users.noreply.github.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.
What
Switches the rolling build to the new
docker-build-native.ymlreusable workflow (one-lineuses:change). arm64 now builds on a nativeubuntu-24.04-armrunner instead of under QEMU emulation, and is Trivy-scanned and smoke-tested for the first time.Why
The rolling build compiles oCIS from source with
CGO_ENABLED=1 ENABLE_VIPS=true make release. Under the previous emulated arm64 path that dominated wall-clock time (~60 min on a cold build). Native runners build each arch in parallel at native speed.Depends on
owncloud-docker/ubuntu#278 (adds
docker-build-native.yml). This PR's CI cannot fully pass until #278 is merged toubuntu@master, becauserolling.ymlreferences@master.Validation
Opening this PR triggers the rolling workflow with
push: false(matchespull_request.paths), exercising native build + Trivy + smoke on both arches without publishing. After merge,docker buildx imagetools inspect owncloud/ocis-rolling:latestshould list bothlinux/amd64andlinux/arm64.🤖 Generated with Claude Code