diff --git a/.github/workflows/testing-docker-image.yml b/.github/workflows/testing-docker-image.yml index daecbc5..1b2626f 100644 --- a/.github/workflows/testing-docker-image.yml +++ b/.github/workflows/testing-docker-image.yml @@ -15,28 +15,43 @@ jobs: docker logs iobroker >& testrun.log curl --insecure http://127.0.0.1:8081 2> /dev/null | grep 'Admin' &> /dev/null || exit 1 - - name: Send notification - uses: dawidd6/action-send-mail@v3 + - name: Send email + uses: devellany/send-mailer@v1.0.2 with: - # Required mail server address: - server_address: mail.buanet.de - # Required mail server port: - server_port: 465 - # Optional (recommended): mail server username: - username: ${{secrets.MAIL_USER}} - # Optional (recommended) mail server password: + host: mail.buanet.de + account: ${{secrets.MAIL_USER}} password: ${{secrets.MAIL_PASS}} - # Required mail subject: - subject: \[GitHub Actions\] ioBroker.Docker - Testing Docker image - # Required recipients' addresses: + sender: devellany + from: noreply@buanet.de to: andre@buanet.de - # Required sender full name (address can be skipped): - from: GitHub Actions Notification - # Optional whether this connection use TLS (default is true if server_port is 465) - secure: true - # Optional plain body: - body: Job completed successfully! - # Optional unsigned/invalid certificates allowance: - ignore_cert: true - # Optional attachments: - attachments: testrun.log + subject: \[GitHub Actions\] ioBroker.Docker - Testing Docker image + body: Test + contentType: text/html + attachments: file://testrun.log + + +# - name: Send notification +# uses: dawidd6/action-send-mail@v3 +# with: +# # Required mail server address: +# server_address: mail.buanet.de +# # Required mail server port: +# server_port: 465 +# # Optional (recommended): mail server username: +# username: ${{secrets.MAIL_USER}} +# # Optional (recommended) mail server password: +# password: ${{secrets.MAIL_PASS}} +# # Required mail subject: +# subject: \[GitHub Actions\] ioBroker.Docker - Testing Docker image +# # Required recipients' addresses: +# to: andre@buanet.de +# # Required sender full name (address can be skipped): +# from: GitHub Actions Notification +# # Optional whether this connection use TLS (default is true if server_port is 465) +# secure: true +# # Optional plain body: +# body: Job completed successfully! +# # Optional unsigned/invalid certificates allowance: +# ignore_cert: true +# # Optional attachments: +# attachments: testrun.log