docker-image-pipelines/.woodpecker/woodpecker-email.yaml
Oliver Traber 326c0aff9f
Some checks failed
ci/woodpecker/push/matrix-media-repo Pipeline failed
ci/woodpecker/push/wattpad-downloader Pipeline was successful
ci/woodpecker/push/woodpecker-email Pipeline was successful
Fix email notification
2023-11-05 15:34:14 +01:00

37 lines
954 B
YAML

when:
- path:
include: [ '.woodpecker/woodpecker-email.yaml' ]
skip_clone: true
steps:
clone:
image: alpine/git
commands:
- git clone https://gitnet.fr/deblan/woodpecker-email.git .
- git checkout master
docker:
image: woodpeckerci/plugin-docker-buildx
secrets: [docker_username, docker_password]
settings:
pull_image: true
registry: git.bluemedia.dev
repo: git.bluemedia.dev/bluemedia/woodpecker-email
platforms: linux/amd64, linux/arm64/v8
tag: latest
notify:
image: git.bluemedia.dev/bluemedia/woodpecker-email
settings:
from:
from_secret: smtp_notify_email
host:
from_secret: smtp_notify_host
username:
from_secret: smtp_notify_username
password:
from_secret: smtp_notify_password
recipients_only: true
recipients:
from_secret: smtp_notify_recipients
when:
- status: [ failure ]