Skip to content

Commit

Permalink
Modified gh actions, deployment.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
shouhanzen committed Mar 14, 2024
1 parent c657d61 commit 1a45c5d
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/build_image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@ name: Build Docker Image

on:
push:
branches: [ main ]
# branches: [ main ]
tags:
# Only run workflow on tags that match the pattern
- 'v*' # Push events to matching v*, like v1.0, v20.15.10

jobs:
build:
Expand All @@ -27,4 +30,4 @@ jobs:
with:
context: .
push: true
tags: ghcr.io/${{ github.repository_owner }}/its-ai-scribe:tag
tags: ghcr.io/${{ github.repository_owner }}/its-ai-scribe:latest
11 changes: 10 additions & 1 deletion helmchart/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,15 @@ spec:
spec:
containers:
- name: its-ai-scribe
image: its-ai-scribe
image: ghcr.io/ucsd-ets/its-ai-scribe:latest
ports:
- containerPort: 8000

# Set the environment variables
env:
- name: OPENAI_API_KEY
value: PcnEQhARNPYPc7Tbth4Sp
- name: OPENAI_API_BASE
value: http://api-llama-70b-chat-vllm.proj-its-ai.svc:8000/v1
- name: MODEL
value: Llama-2-70b-chat

0 comments on commit 1a45c5d

Please sign in to comment.