Skip to content

Commit b1db4d4

Browse files
better
Signed-off-by: Adrian Cole <[email protected]>
1 parent 770310b commit b1db4d4

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

.github/workflows/docker-chatbot-rag-app.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ jobs:
4545
username: ${{ github.actor }}
4646
password: ${{ secrets.GITHUB_TOKEN }}
4747
# This builds the image and pushes its digest if a multi-architecture
48-
# image will be made later (event_name == 'push'). As a side-effect the
49-
# layers built are in the cache and usable for testing PRs later.
48+
# image will be made later (event_name == 'push'). If PR, the image is
49+
# loaded into docker for testing.
5050
- uses: docker/build-push-action@v6
5151
id: build
5252
with:
@@ -62,8 +62,7 @@ jobs:
6262
working-directory: example-apps/chatbot-rag-app
6363
run: | # This tests ELSER is working, which doesn't require an LLM.
6464
cp env.example .env
65-
docker compose build create-index
66-
time docker compose run --build --rm -T create-index
65+
docker compose run --rm -T create-index
6766
- name: export digest
6867
if: github.event_name == 'push'
6968
run: |

example-apps/chatbot-rag-app/docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: chatbot-rag-app
22

33
services:
44
create-index:
5-
image: ${IMAGE:-ghcr.io/elastic/elasticsearch-labs/chatbot-rag-app}
5+
image: ghcr.io/elastic/elasticsearch-labs/chatbot-rag-app
66
build:
77
context: .
88
container_name: create-index
@@ -21,7 +21,7 @@ services:
2121
create-index:
2222
condition: service_completed_successfully
2323
container_name: api-frontend
24-
image: ${IMAGE:-ghcr.io/elastic/elasticsearch-labs/chatbot-rag-app}
24+
image: ghcr.io/elastic/elasticsearch-labs/chatbot-rag-app
2525
build:
2626
context: .
2727
env_file:

0 commit comments

Comments
 (0)