Skip to content

Commit add48ac

Browse files
maybe
Signed-off-by: Adrian Cole <[email protected]>
1 parent ad26fb1 commit add48ac

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,10 @@ jobs:
4848
id: build
4949
with:
5050
context: example-apps/chatbot-rag-app
51+
# If this is a pull request, tag the image locally for testing.
52+
tags: ${{ github.event_name == 'pull_request' && format('{0}:latest', env.IMAGE) || '' }}
53+
# When pushing to main, push this image to the repository by digest
54+
# which is later used to assemble a multi-architecture image.
5155
outputs: type=image,name=${{ env.IMAGE }},push-by-digest=true,name-canonical=true,push=${{ github.event_name == 'push' && 'true' || 'false' }}
5256
cache-from: type=gha
5357
cache-to: type=gha,mode=max

0 commit comments

Comments
 (0)