Skip to content

Commit

Permalink
better
Browse files Browse the repository at this point in the history
Signed-off-by: Adrian Cole <[email protected]>
  • Loading branch information
codefromthecrypt committed Feb 20, 2025
1 parent 770310b commit b1db4d4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/docker-chatbot-rag-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
# This builds the image and pushes its digest if a multi-architecture
# image will be made later (event_name == 'push'). As a side-effect the
# layers built are in the cache and usable for testing PRs later.
# image will be made later (event_name == 'push'). If PR, the image is
# loaded into docker for testing.
- uses: docker/build-push-action@v6
id: build
with:
Expand All @@ -62,8 +62,7 @@ jobs:
working-directory: example-apps/chatbot-rag-app
run: | # This tests ELSER is working, which doesn't require an LLM.
cp env.example .env
docker compose build create-index
time docker compose run --build --rm -T create-index
docker compose run --rm -T create-index
- name: export digest
if: github.event_name == 'push'
run: |
Expand Down
4 changes: 2 additions & 2 deletions example-apps/chatbot-rag-app/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: chatbot-rag-app

services:
create-index:
image: ${IMAGE:-ghcr.io/elastic/elasticsearch-labs/chatbot-rag-app}
image: ghcr.io/elastic/elasticsearch-labs/chatbot-rag-app
build:
context: .
container_name: create-index
Expand All @@ -21,7 +21,7 @@ services:
create-index:
condition: service_completed_successfully
container_name: api-frontend
image: ${IMAGE:-ghcr.io/elastic/elasticsearch-labs/chatbot-rag-app}
image: ghcr.io/elastic/elasticsearch-labs/chatbot-rag-app
build:
context: .
env_file:
Expand Down

0 comments on commit b1db4d4

Please sign in to comment.