Skip to content

Commit 7af8ab6

Browse files
authored
Pull 'providers.d' from GHA to ensure the same context is used. (#61)
1 parent cece733 commit 7af8ab6

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

.github/workflows/build_and_deploy.yml

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,11 @@ jobs:
1212

1313
build_push:
1414
runs-on: ubuntu-latest
15-
services:
16-
registry:
17-
image: registry:2
18-
ports:
19-
- 5000:5000
15+
2016
env:
2117
ANSIBLE_CHATBOT_VERSION: ${{ github.event.inputs.version }}
2218

2319
steps:
24-
- name: Set up Docker Buildx
25-
uses: docker/setup-buildx-action@v3
2620

2721
- name: Login to Quay
2822
uses: docker/login-action@v3
@@ -43,10 +37,14 @@ jobs:
4337

4438
- name: Install uv
4539
uses: astral-sh/setup-uv@v6
46-
47-
- name: Environment Setup
40+
41+
- name: Fetch providers.d information
4842
run: |
49-
make setup
43+
mkdir -p llama-stack/providers.d/inline/agents/
44+
curl -o llama-stack/providers.d/inline/agents/lightspeed_inline_agent.yaml https://raw.githubusercontent.com/lightspeed-core/lightspeed-providers/refs/heads/main/resources/external_providers/inline/agents/lightspeed_inline_agent.yaml
45+
46+
- name: Set up Docker Buildx
47+
uses: docker/setup-buildx-action@v3
5048

5149
- name: Ansible Chatbot Stack Build and Push
5250
uses: docker/build-push-action@v6

0 commit comments

Comments
 (0)