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