This commit is contained in:
@@ -42,4 +42,28 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
push: true
|
push: true
|
||||||
tags: blinkfink182/qbt-gluetun-portmgr:${{ steps.tag.outputs.tag }}
|
tags: blinkfink182/qbt-gluetun-portmgr:${{ steps.tag.outputs.tag }}
|
||||||
|
|
||||||
|
- name: Notify Apprise (success)
|
||||||
|
if: success()
|
||||||
|
run: |
|
||||||
|
curl -X POST \
|
||||||
|
-H "Content-Type: application/json" \
|
||||||
|
-d "{
|
||||||
|
\"tags\": \"all\",
|
||||||
|
\"title\": \"Gitea Build Succeeded\",
|
||||||
|
\"body\": \"Repo: ${{ gitea.repository }}\\nBranch: ${{ gitea.ref_name }}\\nImage tag built successfully\"
|
||||||
|
}" \
|
||||||
|
http://10.47.0.213:4444/notify/926263506803e21d72e382edd0caf3fb510a9629d860601dfb79506b5758c133
|
||||||
|
|
||||||
|
- name: Notify Apprise (failure)
|
||||||
|
if: failure()
|
||||||
|
run: |
|
||||||
|
curl -X POST \
|
||||||
|
-H "Content-Type: application/json" \
|
||||||
|
-d "{
|
||||||
|
\"tags\": \"all\",
|
||||||
|
\"title\": \"Gitea Build Failed\",
|
||||||
|
\"body\": \"Repo: ${{ gitea.repository }}\\nBranch: ${{ gitea.ref_name }}\\nCheck logs in Gitea\"
|
||||||
|
}" \
|
||||||
|
http://10.47.0.213:4444/notify/926263506803e21d72e382edd0caf3fb510a9629d860601dfb79506b5758c133
|
||||||
Reference in New Issue
Block a user