Skip to content

Commit fbd17ac

Browse files
committed
adds step sending request to qovery endpoint to trigger container deployment
1 parent 9b413ff commit fbd17ac

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/build-from-test.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,16 @@ jobs:
196196
docker push ${{ steps.image_lowercase.outputs.lowercase }}-${{ env.CLEAN_NETWORK}}:${{ env.COMMIT_TAG }}
197197
docker push ${{ steps.image_lowercase.outputs.lowercase }}-${{ env.CLEAN_NETWORK}}:${{ env.STATIC_TAG }}
198198
199+
- name: Notify Qovery of new image tag
200+
run: |
201+
curl -X POST https://api.qovery.com/organization/${{ secrets.QOVERY_ORG_ID }}/container/deploy \
202+
-H "Authorization: Token ${{ secrets.QOVERY_API_TOKEN }}" \
203+
-H "Content-Type: application/json" \
204+
-d '{
205+
"image_name": "${{ steps.image_lowercase.outputs.lowercase }}-${{ env.CLEAN_NETWORK }}",
206+
"tag": "${{ env.COMMIT_TAG }}"
207+
}'
208+
199209
- name: Add tag as a PR comment
200210
uses: ubie-oss/[email protected]
201211
id: comment-to-merged-pr

0 commit comments

Comments
 (0)