added email notification
release-tag / build and push (push) Failing after 56s

This commit is contained in:
2024-08-19 10:46:28 +02:00
parent 09ebab0161
commit 8352cf3a86
+11
View File
@@ -40,3 +40,14 @@ jobs:
tags: | # replace it with your local IP and tags tags: | # replace it with your local IP and tags
harbor.solusar.de/library/${{ steps.meta.outputs.REPO_NAME }}:${{ steps.meta.outputs.REPO_VERSION }} harbor.solusar.de/library/${{ steps.meta.outputs.REPO_NAME }}:${{ steps.meta.outputs.REPO_VERSION }}
harbor.solusar.de/library/${{ steps.meta.outputs.REPO_NAME }}:${{ env.DOCKER_LATEST }} harbor.solusar.de/library/${{ steps.meta.outputs.REPO_NAME }}:${{ env.DOCKER_LATEST }}
- name: Send mail
if: always()
uses: https://github.com/dawidd6/action-send-mail@v3
with:
to: ${{ secrets.MAIL_TO }}
from: Gitea <gitea@hostname>
subject: ${{ gitea.repository }} ${{gitea.workflow}} ${{ job.status }}
priority: high
convert_markdown: true
html_body: |
### Job ${{ job.status }}