Migrate to Woodpecker CI
This commit is contained in:
parent
c4bacf7e80
commit
ca7053fcaf
56
.drone.yml
56
.drone.yml
|
@ -1,56 +0,0 @@
|
||||||
kind: pipeline
|
|
||||||
type: docker
|
|
||||||
name: matrix-media-repo
|
|
||||||
|
|
||||||
clone:
|
|
||||||
disable: true
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: clone
|
|
||||||
image: alpine/git
|
|
||||||
commands:
|
|
||||||
- git clone https://github.com/turt2live/matrix-media-repo.git .
|
|
||||||
- git checkout 219e4bc
|
|
||||||
- name: docker
|
|
||||||
image: plugins/docker
|
|
||||||
settings:
|
|
||||||
pull_image: true
|
|
||||||
no_cache: true
|
|
||||||
repo: git.bluemedia.dev/bluemedia/matrix-media-repo
|
|
||||||
tags:
|
|
||||||
- latest
|
|
||||||
purge: true
|
|
||||||
registry: git.bluemedia.dev
|
|
||||||
username:
|
|
||||||
from_secret: docker_username
|
|
||||||
password:
|
|
||||||
from_secret: docker_password
|
|
||||||
|
|
||||||
---
|
|
||||||
kind: pipeline
|
|
||||||
type: docker
|
|
||||||
name: wattpad-downloader
|
|
||||||
|
|
||||||
clone:
|
|
||||||
disable: true
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: clone
|
|
||||||
image: alpine/git
|
|
||||||
commands:
|
|
||||||
- git clone https://github.com/Feuerhamster/wattpad-downloader.git .
|
|
||||||
- git checkout master
|
|
||||||
- name: docker
|
|
||||||
image: plugins/docker
|
|
||||||
settings:
|
|
||||||
pull_image: true
|
|
||||||
no_cache: true
|
|
||||||
repo: git.bluemedia.dev/bluemedia/wattpad-downloader
|
|
||||||
tags:
|
|
||||||
- latest
|
|
||||||
purge: true
|
|
||||||
registry: git.bluemedia.dev
|
|
||||||
username:
|
|
||||||
from_secret: docker_username
|
|
||||||
password:
|
|
||||||
from_secret: docker_password
|
|
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 ]
|
|
@ -1,3 +1,3 @@
|
||||||
# docker-image-pipelines
|
# docker-image-pipelines
|
||||||
|
|
||||||
DroneCI pipelines to build Docker images of public projects for my own services
|
This repository contains [Woodpecker CI](https://woodpecker-ci.org/) pipelines that I use to create custom builds from other projects. I do that for example when the original images are very rarely updated.
|
Loading…
Reference in a new issue