From 72d84856208d25b115dfd00da125ec5c863d9202 Mon Sep 17 00:00:00 2001 From: BluemediaGER Date: Tue, 3 Oct 2023 20:20:11 +0200 Subject: [PATCH] Replace DroneCI with Woodpecker --- .drone.yml | 19 ------------------- .woodpecker/docker.yaml | 25 +++++++++++++++++++++++++ 2 files changed, 25 insertions(+), 19 deletions(-) delete mode 100644 .drone.yml create mode 100644 .woodpecker/docker.yaml diff --git a/.drone.yml b/.drone.yml deleted file mode 100644 index 6626811..0000000 --- a/.drone.yml +++ /dev/null @@ -1,19 +0,0 @@ -kind: pipeline -type: docker -name: musebot - -steps: -- name: docker - image: plugins/docker - settings: - pull_image: true - no_cache: true - repo: git.bluemedia.dev/bluemedia/musebot - tags: - - latest - purge: true - registry: git.bluemedia.dev - username: - from_secret: docker_username - password: - from_secret: docker_password \ No newline at end of file diff --git a/.woodpecker/docker.yaml b/.woodpecker/docker.yaml new file mode 100644 index 0000000..36c2001 --- /dev/null +++ b/.woodpecker/docker.yaml @@ -0,0 +1,25 @@ +steps: + docker: + image: woodpeckerci/plugin-docker-buildx + secrets: [docker_username, docker_password] + settings: + pull_image: true + registry: git.bluemedia.dev + repo: git.bluemedia.dev/bluemedia/musebot + platforms: linux/amd64,linux/arm/v6,linux/arm64/v8 + 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