45 lines
1.2 KiB
YAML
45 lines
1.2 KiB
YAML
when:
|
|
- branch: main
|
|
event: [ push, manual, cron ]
|
|
path:
|
|
include: [ '.woodpecker/matrix-media-repo.yaml' ]
|
|
|
|
labels:
|
|
platform: linux/amd64
|
|
|
|
skip_clone: true
|
|
|
|
steps:
|
|
clone:
|
|
image: alpine/git
|
|
commands:
|
|
# renovate: datasource=github-releases depName=turt2live/matrix-media-repo versioning=semver-coerced
|
|
- git clone --branch v1.3.7 --depth 1 https://github.com/turt2live/matrix-media-repo.git .
|
|
docker:
|
|
image: woodpeckerci/plugin-docker-buildx
|
|
settings:
|
|
pull_image: true
|
|
registry: git.bluemedia.dev
|
|
repo: git.bluemedia.dev/bluemedia/matrix-media-repo
|
|
username:
|
|
from_secret: docker_username
|
|
password:
|
|
from_secret: docker_password
|
|
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 ] |