From 105f3de5ffe619d46d3755a952d6cb412e653579 Mon Sep 17 00:00:00 2001 From: samuel-p Date: Thu, 4 Nov 2021 22:04:55 +0100 Subject: [PATCH] migrated .drone.yml to .woodpecker.yml --- .drone.yml | 55 ------------------------------------------------- .woodpecker.yml | 28 +++++++++++++++++++++++++ 2 files changed, 28 insertions(+), 55 deletions(-) delete mode 100644 .drone.yml create mode 100644 .woodpecker.yml diff --git a/.drone.yml b/.drone.yml deleted file mode 100644 index 90f01c6..0000000 --- a/.drone.yml +++ /dev/null @@ -1,55 +0,0 @@ -kind: pipeline -type: docker -name: linux-amd64 - -platform: - os: linux - arch: amd64 - -steps: - - name: docker - image: plugins/docker - settings: - purge: true - no_cache: true - auto_tag: true - auto_tag_suffix: linux-amd64 - repo: spcodes/unifiedpush-gotify - username: - from_secret: USERNAME - password: - from_secret: PASSWORD - -trigger: - branch: - - main - event: - - push - ---- -kind: pipeline -type: docker -name: manifest - -steps: - - name: publish-latest - image: plugins/manifest - settings: - ignore_missing: true - target: spcodes/unifiedpush-gotify - template: spcodes/unifiedpush-gotify:OS-ARCH - platforms: - - linux/amd64 - username: - from_secret: USERNAME - password: - from_secret: PASSWORD - -depends_on: - - linux-amd64 - -trigger: - branch: - - main - event: - - push diff --git a/.woodpecker.yml b/.woodpecker.yml new file mode 100644 index 0000000..791fb91 --- /dev/null +++ b/.woodpecker.yml @@ -0,0 +1,28 @@ +pipeline: + docker: + image: plugins/docker + secrets: + - DOCKER_USERNAME + - DOCKER_PASSWORD + repo: spcodes/unifiedpush-gotify + tags: latest + when: + branch: + - main + event: + - push + cr: + image: plugins/docker + secrets: + - source: CR_USERNAME + target: DOCKER_USERNAME + - source: CR_PASSWORD + target: DOCKER_PASSWORD + registry: cr.sp-codes.de + repo: cr.sp-codes.de/unifiedpush-gotify + tags: latest + when: + branch: + - main + event: + - push