Migrate to Woodpecker CI
This commit is contained in:
parent
c4bacf7e80
commit
ca7053fcaf
4 changed files with 63 additions and 57 deletions
31
.woodpecker/matrix-media-repo.yaml
Normal file
31
.woodpecker/matrix-media-repo.yaml
Normal file
|
@ -0,0 +1,31 @@
|
|||
skip_clone: true
|
||||
|
||||
steps:
|
||||
clone:
|
||||
image: alpine/git
|
||||
commands:
|
||||
- git clone https://github.com/turt2live/matrix-media-repo.git .
|
||||
- git checkout 219e4bc
|
||||
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: deblan/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 ]
|
31
.woodpecker/wattpad-downloader.yaml
Normal file
31
.woodpecker/wattpad-downloader.yaml
Normal file
|
@ -0,0 +1,31 @@
|
|||
skip_clone: true
|
||||
|
||||
steps:
|
||||
clone:
|
||||
image: alpine/git
|
||||
commands:
|
||||
- git clone https://github.com/Feuerhamster/wattpad-downloader.git .
|
||||
- git checkout 219e4bc
|
||||
docker:
|
||||
image: woodpeckerci/plugin-docker-buildx
|
||||
secrets: [docker_username, docker_password]
|
||||
settings:
|
||||
pull_image: true
|
||||
registry: git.bluemedia.dev
|
||||
repo: git.bluemedia.dev/bluemedia/wattpad-downloader
|
||||
platforms: linux/amd64
|
||||
tag: latest
|
||||
notify:
|
||||
image: deblan/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 ]
|
Loading…
Add table
Add a link
Reference in a new issue