Skip to content

fix: revert Alpine image to 3.22.2 to fix multi-arch build - #1933

Merged
TerryHowe merged 1 commit into
oras-project:mainfrom
bupd:fix-ghcr
Dec 10, 2025
Merged

TerryHowe merged 1 commit into
oras-project:mainfrom
bupd:fix-ghcr

Conversation

@bupd

@bupd bupd commented Dec 10, 2025

Copy link
Copy Markdown
Contributor

What this PR does / why we need it:

  • Reverts Alpine base image from 3.23.0 to 3.22.2 to fix broken release-ghcr workflow

Problem

Alpine 3.23.0 introduced a QEMU emulation incompatibility that causes multi-architecture builds to fail with:
ERROR: lib/apk/exec/busybox-1.37.0-r29.trigger: exited with error 127

  • execve: No such file or directory
    This affects all non-native architectures: linux/arm/v7, linux/arm64, linux/ppc64le, and linux/s390x.

Solution

Revert to Alpine 3.22.2, which was working correctly before the upgrade.

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #1932

Please check the following list:

  • Does the affected code have corresponding tests, e.g. unit test, E2E test?
  • Does this change require a documentation update?
  • Does this introduce breaking changes that would require an announcement or bumping the major version?
  • Do all new files have an appropriate license header?

@TerryHowe TerryHowe left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

Thanks!

@codecov

codecov Bot commented Dec 10, 2025 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 87.26%. Comparing base (f5f8011) to head (faaa35e).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1933      +/-   ##
==========================================
- Coverage   87.29%   87.26%   -0.04%     
==========================================
  Files         143      143              
  Lines        5535     5535              
==========================================
- Hits         4832     4830       -2     
- Misses        417      419       +2     
  Partials      286      286              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@TerryHowe
TerryHowe merged commit be96754 into oras-project:main Dec 10, 2025
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.

ghcr workflow broken

2 participants