diff --git a/.github/workflows/image.yml b/.github/workflows/image.yml index 1af0431..ad633a6 100644 --- a/.github/workflows/image.yml +++ b/.github/workflows/image.yml @@ -54,4 +54,4 @@ jobs: version: v0.7.0 - name: Build run: | - earthly --platform=linux/amd64 --platform=linux/arm64 --push +image --IMAGE=${{ steps.prep.outputs.image }} + earthly --push +image-all --IMAGE=${{ steps.prep.outputs.image }} diff --git a/Earthfile b/Earthfile index 3388104..2023462 100644 --- a/Earthfile +++ b/Earthfile @@ -37,4 +37,7 @@ image: COPY +build/llama-cli /llama-cli ENV MODEL_PATH=/model.bin ENTRYPOINT /llama-cli - SAVE IMAGE --push $IMAGE \ No newline at end of file + SAVE IMAGE --push $IMAGE + +image-all: + BUILD --platform=linux/amd64 --platform=linux/arm64 +image \ No newline at end of file