mirror of
https://github.com/mudler/LocalAI.git
synced 2024-06-07 19:40:48 +00:00
Multi-platform Earthly build must be in a target
This commit is contained in:
parent
896da59b87
commit
291a8a6d2e
2
.github/workflows/image.yml
vendored
2
.github/workflows/image.yml
vendored
@ -54,4 +54,4 @@ jobs:
|
|||||||
version: v0.7.0
|
version: v0.7.0
|
||||||
- name: Build
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
earthly --platform=linux/amd64 --platform=linux/arm64 --push +image --IMAGE=${{ steps.prep.outputs.image }}
|
earthly --push +image-all --IMAGE=${{ steps.prep.outputs.image }}
|
||||||
|
@ -37,4 +37,7 @@ image:
|
|||||||
COPY +build/llama-cli /llama-cli
|
COPY +build/llama-cli /llama-cli
|
||||||
ENV MODEL_PATH=/model.bin
|
ENV MODEL_PATH=/model.bin
|
||||||
ENTRYPOINT /llama-cli
|
ENTRYPOINT /llama-cli
|
||||||
SAVE IMAGE --push $IMAGE
|
SAVE IMAGE --push $IMAGE
|
||||||
|
|
||||||
|
image-all:
|
||||||
|
BUILD --platform=linux/amd64 --platform=linux/arm64 +image
|
Loading…
Reference in New Issue
Block a user