Add woodpecker-email image
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 failed

This commit is contained in:
Oliver Traber 2023-11-05 01:57:53 +01:00
parent 2f73f82b5b
commit 6923c398b4
Signed by: Bluemedia
GPG key ID: C0674B105057136C
3 changed files with 43 additions and 0 deletions

View file

@ -1,3 +1,7 @@
when:
- path:
include: [ '.woodpecker/matrix-media-repo.yaml' ]
skip_clone: true
steps:

View file

@ -1,3 +1,7 @@
when:
- path:
include: [ '.woodpecker/wattpad-downloader.yaml' ]
skip_clone: true
steps:

View file

@ -0,0 +1,35 @@
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 main
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.address:
from_secret: smtp_notify_email
from.name: Woodpecker CI
host:
from_secret: smtp_notify_host
username:
from_secret: smtp_notify_email
password:
from_secret: smtp_notify_password
when:
- status: [ failure ]