migrated .drone.yml to .woodpecker.yml
All checks were successful
continuous-integration/woodpecker the build was successful
All checks were successful
continuous-integration/woodpecker the build was successful
This commit is contained in:
parent
20a146ea6d
commit
105f3de5ff
2 changed files with 28 additions and 55 deletions
55
.drone.yml
55
.drone.yml
|
@ -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
|
|
28
.woodpecker.yml
Normal file
28
.woodpecker.yml
Normal file
|
@ -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
|
Reference in a new issue