Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: s390x architecture is not handled #57

Merged
merged 1 commit into from
Oct 21, 2024

Conversation

mkulke
Copy link
Contributor

@mkulke mkulke commented Oct 4, 2024

The project releases s390x binaries (64bit), but not s390 (31bit). Node reports a s390x runner correctly as "s390x", so instllations will fail on this platform.

https://nodejs.org/api/os.html#osarch

Hence the s390 arch case has been changed to the s390x.

@shizhMSFT
Copy link
Contributor

@mkulke Many thanks for the fix! Could you also update the dist folder? /cc @qweeah

@qweeah
Copy link
Contributor

qweeah commented Oct 8, 2024

Thanks @mkulke for the contribution. Currently you may use s390 and it will be resolve to s390x when fetching the image.

/lgtm

Copy link
Contributor

@shizhMSFT shizhMSFT left a comment

Choose a reason for hiding this comment

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

LGTM

@shizhMSFT shizhMSFT force-pushed the mkulke/fix-s390x-arch-parsing branch from d9c47f1 to 52cf968 Compare October 21, 2024 05:52
The project releases s390x binaries (64bit), but not s390 (31bit). Node
reports a s390x runner correctly as "s390x", so instllations will fail
on this platform.

https://nodejs.org/api/os.html#osarch

Hence the s390 arch case has been changed to the s390x.

Signed-off-by: Magnus Kulke <[email protected]>
@shizhMSFT shizhMSFT force-pushed the mkulke/fix-s390x-arch-parsing branch from 52cf968 to 05cb9c1 Compare October 21, 2024 05:53
@shizhMSFT shizhMSFT merged commit 2a4cd09 into oras-project:main Oct 21, 2024
11 checks passed
@mkulke mkulke deleted the mkulke/fix-s390x-arch-parsing branch October 21, 2024 06:33
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.

3 participants