Skip to content

Add multi-arch integration test and fix docker-buildx cross-compile#165

Open
rvanlaak wants to merge 2 commits into
bitwarden:mainfrom
rvanlaak:copilot/add-integration-test-arm-platform
Open

Add multi-arch integration test and fix docker-buildx cross-compile#165
rvanlaak wants to merge 2 commits into
bitwarden:mainfrom
rvanlaak:copilot/add-integration-test-arm-platform

Conversation

@rvanlaak

@rvanlaak rvanlaak commented Jul 7, 2026

Copy link
Copy Markdown

ARM images fail with exec /manager: exec format error, and there was no test coverage to catch this class of regression before publishing images.

See rvanlaak#1 where I've asked Copilot to help with properly testing multiarch.

Ran https://github.com/rvanlaak/sm-kubernetes/actions/runs/28868331949 to verify the added multiarch build and test work correctly. The build itself fails at the end of the successful build because my upstream repo - obviously - does not have push permissions on Bidwarden's Github container registry:

ERROR: failed to build: failed to solve: failed to push ghcr.io/bitwarden/sm-operator:dev: denied: permission_denied: The requested installation does not exist.

🎟️ Tracking

Fixes #131

📔 Objective

Test multiarch images, drop old Dockerfile.cross build approach.

⏰ Reminders before review

  • Contributor guidelines followed
  • All formatters and local linters executed and passed
  • Written new unit and / or integration tests where applicable
  • Protected functional changes with optionality (feature flags)
  • Used internationalization (i18n) for all UI strings
  • CI builds passed
  • Communicated to DevOps any deployment requirements
  • Updated any necessary documentation (Confluence, contributing docs) or informed the documentation team

@rvanlaak
rvanlaak requested a review from a team as a code owner July 7, 2026 13:36
@CLAassistant

CLAassistant commented Jul 7, 2026

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
1 out of 2 committers have signed the CLA.

✅ rvanlaak
❌ Copilot
You have signed the CLA already but the status is still pending? Let us recheck it.

@bitwarden-bot

Copy link
Copy Markdown

Thank you for your contribution! We've added this to our internal tracking system for review.
ID: PM-40068
Link: https://bitwarden.atlassian.net/browse/PM-40068

Details on our contribution process can be found here: https://contributing.bitwarden.com/contributing/pull-requests/community-pr-process.

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.

Bug: exec /manager: exec format error after upgrade to 2.0.0

4 participants