diff --git a/.drone.yml b/.drone.yml deleted file mode 100644 index 138d4b0..0000000 --- a/.drone.yml +++ /dev/null @@ -1,118 +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: samuelph/feed2toot - username: - from_secret: USERNAME - password: - from_secret: PASSWORD - -trigger: - branch: - - master - event: - - push - ---- -kind: pipeline -type: docker -name: linux-arm - -platform: - os: linux - arch: arm - -steps: - - name: docker - image: plugins/docker - settings: - purge: true - no_cache: true - auto_tag: true - auto_tag_suffix: linux-arm - repo: samuelph/feed2toot - username: - from_secret: USERNAME - password: - from_secret: PASSWORD - -trigger: - branch: - - master - event: - - push - ---- -kind: pipeline -type: docker -name: linux-arm64 - -platform: - os: linux - arch: arm64 - -steps: - - name: docker - image: plugins/docker - settings: - purge: true - no_cache: true - auto_tag: true - auto_tag_suffix: linux-arm64 - repo: samuelph/feed2toot - username: - from_secret: USERNAME - password: - from_secret: PASSWORD - -trigger: - branch: - - master - event: - - push - ---- -kind: pipeline -type: docker -name: manifest - -steps: - - name: publish - image: plugins/manifest - settings: - auto_tag: true - ignore_missing: true - target: samuelph/feed2toot - template: samuelph/feed2toot:OS-ARCH - platforms: - - linux/amd64 - - linux/arm64 - - linux/arm - username: - from_secret: USERNAME - password: - from_secret: PASSWORD - -depends_on: - - linux-amd64 - - linux-arm64 - - linux-arm - -trigger: - branch: - - master - event: - - push diff --git a/.woodpecker.yml b/.woodpecker.yml new file mode 100644 index 0000000..cf9ce36 --- /dev/null +++ b/.woodpecker.yml @@ -0,0 +1,28 @@ +pipeline: + docker: + image: plugins/docker + secrets: + - DOCKER_USERNAME + - DOCKER_PASSWORD + repo: samuelph/feed2toot + 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/feed2toot + tags: latest + when: + branch: + - main + event: + - push