Repository navigation
Fix ppc64le and s390x architecture mapping in bellsoft-liberica-dependency - #1911
Merged
Merged
Conversation
The BellSoft API (api.bell-sw.com) uses different architecture names than the GitHub Actions runner: - ppc64le -> ppc - s390x -> sparc arm64 -> arm mapping already existed but ppc64le and s390x were missing, causing the bellsoft-liberica-dependency action to fail with a 400 Bad Request when querying for PPC64LE or s390x releases.
This was referenced Jul 29, 2026
This was referenced Jul 29, 2026
This was referenced Jul 29, 2026
This was referenced Jul 29, 2026
This was referenced Jul 29, 2026
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.
Summary
The BellSoft API (api.bell-sw.com/v1/liberica/architectures) returns
["arm", "ppc", "riscv", "sparc", "x86"]as valid architectures, but thebellsoft-liberica-dependencyaction was only translatingarm64→arm, missing translations forppc64le→ppcands390x→sparc.Without this fix, any update workflow for PPC64LE or s390x dependencies fails with a 400 Bad Request from the BellSoft API because it doesn't recognize
ppc64leors390xas valid architecture parameters.Fix
Added architecture mapping for:
ppc64le→ppcs390x→sparcAlso updated the comment to reflect the current API response (including
riscv).Impact
Fixes all PPC64LE and s390x update workflows across all Paketo buildpacks that use this action (bellsoft-liberica and likely others).
Fixes: https://github.com/paketo-buildpacks/bellsoft-liberica/actions/runs/30333405829