docker-image-pipelines/.woodpecker/matrix-media-repo.yaml
Oliver Traber d6892bedce
Some checks failed
ci/woodpecker/push/matrix-media-repo Pipeline failed
Fix mail notification
2023-11-05 15:17:37 +01:00

37 lines
950 B
YAML

when:
- path:
include: [ '.woodpecker/matrix-media-repo.yaml' ]
skip_clone: true
steps:
clone:
image: alpine/git
commands:
- git clone https://github.com/turt2live/matrix-media-repo.git .
- git checkout tags/v1.3.3
docker:
image: woodpeckerci/plugin-docker-buildx
secrets: [docker_username, docker_password]
settings:
pull_image: true
registry: git.bluemedia.dev
repo: git.bluemedia.dev/bluemedia/matrix-media-repo
platforms: linux/amd64
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 ]