Skip to content

Commit 8706943

Browse files
committed
Run image
1 parent 2868e7d commit 8706943

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,11 @@ jobs:
4646
id: build
4747
with:
4848
context: example-apps/chatbot-rag-app
49-
outputs: type=image,name=${{ env.IMAGE }},push-by-digest=true,name-canonical=true,push=${{ github.event_name == 'push' && 'true' || 'false' }}
49+
tags: ${{ github.event_name == 'pull_request' && 'chatbot-rag-app:rag' || null }}
50+
outputs: type=${{ github.event_name == 'pull_request' && 'docker' || 'image' }},name=${{ env.IMAGE }},push-by-digest=true,name-canonical=true,push=${{ github.event_name == 'push' && 'true' || 'false' }}
5051
cache-from: type=gha
5152
cache-to: type=gha,mode=max
53+
- run: docker run --rm chatbot-rag-app:rag
5254
- name: export digest
5355
if: github.event_name == 'push'
5456
run: |

0 commit comments

Comments
 (0)