diff --git a/.drone.yml b/.drone.yml deleted file mode 100644 index 8eefc5a..0000000 --- a/.drone.yml +++ /dev/null @@ -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 diff --git a/.woodpecker/matrix-media-repo.yaml b/.woodpecker/matrix-media-repo.yaml new file mode 100644 index 0000000..8eb6207 --- /dev/null +++ b/.woodpecker/matrix-media-repo.yaml @@ -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 ] \ No newline at end of file diff --git a/.woodpecker/wattpad-downloader.yaml b/.woodpecker/wattpad-downloader.yaml new file mode 100644 index 0000000..853101a --- /dev/null +++ b/.woodpecker/wattpad-downloader.yaml @@ -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 ] \ No newline at end of file diff --git a/README.md b/README.md index c5c88e4..fd41e5f 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,3 @@ # docker-image-pipelines -DroneCI pipelines to build Docker images of public projects for my own services \ No newline at end of file +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. \ No newline at end of file