-
Notifications
You must be signed in to change notification settings - Fork 7
feat: enable multi-arch arm64 builds #44
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
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Doug Edgar <dedgar@redhat.com>
actions/publish-dockers/main.sh
Outdated
| docker images | cat | ||
|
|
||
| echo "Pushing docker image" | ||
| echo "Building and pushing multi-arch OpenShift-compatible image" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| echo "Building and pushing multi-arch OpenShift-compatible image" | |
| echo "Building and pushing multi-arch image" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1, I've updated the comment.
actions/publish-dockers/main.sh
Outdated
| docker build "$LLAMA_STACK_DIR" \ | ||
| BASE_TAG="llamastack/distribution-$distro:$TAG_SUFFIX-base" | ||
| docker buildx build "$LLAMA_STACK_DIR" \ | ||
| --platform linux/amd64,linux/arm64 \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should linux/amd64,linux/arm64 be a top var?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, I've now replaced the 4 occurrences of that string with a new variable.
Signed-off-by: Doug Edgar <dedgar@redhat.com>
Signed-off-by: Doug Edgar <dedgar@redhat.com>
Adding multi-architecture ARM64 build support to the release process.
Closes RHAIENG-2781.
Addresses
llamastack/llama-stack#4290 (comment)
as a follow-up to
llamastack/llama-stack#4290.