2023-11-05 01:57:53 +01:00
|
|
|
when:
|
|
|
|
- path:
|
|
|
|
include: [ '.woodpecker/matrix-media-repo.yaml' ]
|
|
|
|
|
2023-07-09 23:16:00 +02:00
|
|
|
skip_clone: true
|
|
|
|
|
|
|
|
steps:
|
|
|
|
clone:
|
|
|
|
image: alpine/git
|
|
|
|
commands:
|
|
|
|
- git clone https://github.com/turt2live/matrix-media-repo.git .
|
2023-11-05 02:49:29 +01:00
|
|
|
- git checkout tags/v1.3.3
|
2023-07-09 23:16:00 +02:00
|
|
|
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:
|
2023-11-05 02:26:04 +01:00
|
|
|
image: git.bluemedia.dev/bluemedia/woodpecker-email
|
2023-07-09 23:16:00 +02:00
|
|
|
settings:
|
2023-11-05 02:50:00 +01:00
|
|
|
from:
|
2023-07-09 23:16:00 +02:00
|
|
|
from_secret: smtp_notify_email
|
|
|
|
host:
|
|
|
|
from_secret: smtp_notify_host
|
|
|
|
username:
|
2023-11-05 02:50:00 +01:00
|
|
|
from_secret: smtp_notify_username
|
2023-07-09 23:16:00 +02:00
|
|
|
password:
|
|
|
|
from_secret: smtp_notify_password
|
2023-11-05 02:26:04 +01:00
|
|
|
recipients_only: true
|
|
|
|
recipients:
|
|
|
|
from_secret: smtp_notify_recipients
|
2023-07-09 23:16:00 +02:00
|
|
|
when:
|
|
|
|
- status: [ failure ]
|