Skip to content

Commit

Permalink
CB-17 Send image name without server
Browse files Browse the repository at this point in the history
  • Loading branch information
izzat5233 committed Nov 9, 2024
1 parent 8ec26d3 commit 9c92327
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-and-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
-H "Authorization: token ${{ secrets.PERSONAL_ACCESS_TOKEN }}" \
-H "Accept: application/vnd.github.everest-preview+json" \
https://api.github.com/repos/Chatbot-Builder-Project/chatbot-builder-k8s/dispatches \
-d '{"event_type":"deploy_chatbot_staging", "client_payload": {"image_name": "${{ secrets.ACR_LOGIN_SERVER }}/chatbot-builder-api", "image_tag": "staging-${{ github.sha }}"}}'
-d '{"event_type":"deploy_chatbot_staging", "client_payload": {"image_name": "chatbot-builder-engine", "image_tag": "staging-${{ github.sha }}"}}'
- name: Trigger production deployment in k8s repo
if: github.ref == 'refs/heads/main'
Expand All @@ -47,4 +47,4 @@ jobs:
-H "Authorization: token ${{ secrets.PERSONAL_ACCESS_TOKEN }}" \
-H "Accept: application/vnd.github.everest-preview+json" \
https://api.github.com/repos/Chatbot-Builder-Project/chatbot-builder-k8s/dispatches \
-d '{"event_type":"deploy_chatbot_production", "client_payload": {"image_name": "${{ secrets.ACR_LOGIN_SERVER }}/chatbot-builder-api", "image_tag": "prod-${{ github.sha }}"}}'
-d '{"event_type":"deploy_chatbot_production", "client_payload": {"image_name": "chatbot-builder-engine", "image_tag": "prod-${{ github.sha }}"}}'

0 comments on commit 9c92327

Please sign in to comment.