Skip to content

Commit 1b22805

Browse files
committed
use proper build flags to build llama stack with milvus
Signed-off-by: Ryan Cook <rcook@redhat.com>
1 parent 260c010 commit 1b22805

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

.github/workflows/llama-stack-build.yaml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,19 +39,22 @@ jobs:
3939
- name: modify the build.yaml
4040
run: |
4141
sed -i 's/ - inline::faiss/ - inline::milvus/g' llama_stack/templates/remote-vllm/build.yaml
42+
sed -i '/^ *- inline::faiss$/d; /^ *- remote::chromadb$/d; /^ *- remote::pgvector$/d' llama_stack/templates/remote-vllm/build.yaml
43+
sed -i 's/image_type: conda/image_type: container/g' llama_stack/templates/remote-vllm/build.yaml
4244
4345
- name: display contents of buld.yaml
4446
run: |
4547
cat llama_stack/templates/remote-vllm/build.yaml
4648
4749
- name: run llama stack build
4850
run: |
49-
USE_COPY_NOT_MOUNT=true LLAMA_STACK_DIR=. llama stack build --config llama_stack/templates/remote-vllm/build.yaml --template remote-vllm --image-type container
51+
export CONTAINER_BINARY=podman
52+
llama stack build --config llama_stack/templates/remote-vllm/build.yaml --image-type container --image-name remote-vllm
5053
5154
- name: tag the image
5255
run: |
53-
docker tag docker.io/library/distribution-remote-vllm:dev quay.io/redhat-et/llama:vllm-${{inputs.version}}
56+
podman tag localhost/remote-vllm:${{inputs.version}} quay.io/redhat-et/llama:vllm-${{inputs.version}}
5457
5558
- name: push the image
5659
run: |
57-
docker push quay.io/redhat-et/llama:vllm-${{inputs.version}}
60+
podman push quay.io/redhat-et/llama:vllm-${{inputs.version}}

0 commit comments

Comments
 (0)