Update CI to use custom mailer image
All checks were successful
ci/woodpecker/push/test Pipeline was successful
All checks were successful
ci/woodpecker/push/test Pipeline was successful
This commit is contained in:
parent
9436b20e0b
commit
5e617796e6
@ -8,23 +8,23 @@ pipeline:
|
|||||||
# - cmake --build . --parallel $(nproc) --target all
|
# - cmake --build . --parallel $(nproc) --target all
|
||||||
# - ctest
|
# - ctest
|
||||||
notify:
|
notify:
|
||||||
image: drillster/drone-email
|
image: sainnhe/mailer
|
||||||
settings:
|
commands:
|
||||||
from.address:
|
- mailer
|
||||||
from_secret: EMAIL_ADDRESS
|
secrets:
|
||||||
from.name:
|
[
|
||||||
from_secret: EMAIL_SENDER
|
MAILER_FROM_ADDRESS,
|
||||||
host:
|
MAILER_FROM_NAME,
|
||||||
from_secret: EMAIL_HOST
|
MAILER_RECIPIENTS,
|
||||||
port:
|
MAILER_USER_NAME,
|
||||||
from_secret: EMAIL_PORT
|
MAILER_PASSWORD,
|
||||||
username:
|
MAILER_HOST,
|
||||||
from_secret: EMAIL_USERNAME
|
MAILER_PORT,
|
||||||
password:
|
MAILER_USE_STARTTLS,
|
||||||
from_secret: EMAIL_PASSWORD
|
]
|
||||||
no_starttls: true
|
environment:
|
||||||
recipients:
|
- MAILER_SUBJECT="Run Failed"
|
||||||
- i@sainnhe.dev
|
- MAILER_BODY=${CI_BUILD_LINK}
|
||||||
# when:
|
# when:
|
||||||
# status:
|
# status:
|
||||||
# - failure
|
# - failure
|
||||||
|
Loading…
Reference in New Issue
Block a user