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

use --arch for ops pkg push cmd (with sanitisation for amd64) #1618

Merged
merged 4 commits into from
Jun 5, 2024

Conversation

radiosilence
Copy link
Contributor

@radiosilence radiosilence commented Apr 25, 2024

Basically this completes the loop for pushing packages with multiple arches via CLI.

Seeing as the current --arch flag accepts either amd64 (as opposed to x86_64) or arm64, I'm manually changing this in the request data when it's pushed to the repo.

Also falls back to x86_64 if it's blank/unset

Also it slightly changes the behaviour when searching local packages, as previously it was erroring out if one of the existing arches didn't exist yet, so we just log it and continue instead.

@radiosilence radiosilence changed the title add arch to ops pkg push cmd with sanitisation for amd64 use --arch for ops pkg push cmd (with sanitisation for amd64) Apr 25, 2024
cmd/cmd_pkg.go Outdated Show resolved Hide resolved
@eyberg eyberg merged commit 074c720 into nanovms:master Jun 5, 2024
2 checks passed
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.

None yet

2 participants