Skip to content

Commit 77b7f59

Browse files
committed
build and push
Signed-off-by: Ryan Cook <rcook@redhat.com>
1 parent d50c199 commit 77b7f59

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

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

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ env:
1212
jobs:
1313
llama-stack-build:
1414
runs-on: ubuntu-latest
15+
environment: ci
1516
steps:
1617
- name: Checkout code
1718
uses: actions/checkout@v4
@@ -24,10 +25,26 @@ jobs:
2425
sudo apt-get update
2526
sudo apt-get install -y python3-pip
2627
28+
- name: login to quay.io
29+
uses: docker/login-action@v3
30+
with:
31+
registry: quay.io
32+
username: ${{ secrets.QUAY_USERNAME }}
33+
password: ${{ secrets.QUAY_PASSWORD }}
34+
2735
- name: Install repo packages
2836
run: |
2937
pip install -U .
3038
3139
- name: run llama stack build
3240
run: |
41+
sed -i 's/ - inline::faiss/ - inline::milvus/g' llama_stack/templates/remote-vllm/build.yaml
3342
USE_COPY_NOT_MOUNT=true LLAMA_STACK_DIR=. llama stack build --template remote-vllm --image-type container
43+
44+
- name: tag the image
45+
run: |
46+
podman tag localhost/distribution-remote-vllm:dev quay.io/redhat-et/llama:vllm-${{env.LLAMA_RELEASE}}
47+
48+
- name: push the image
49+
run: |
50+
podman push quay.io/redhat-et/llama:vllm-${{env.LLAMA_RELEASE}}

0 commit comments

Comments
 (0)