mirror of
https://github.com/BluemediaGER/nginx-live.git
synced 2024-11-12 23:25:28 +01:00
Migrate to Woodpecker CI
This commit is contained in:
parent
709530a2b9
commit
664925d246
19
.drone.yml
19
.drone.yml
|
@ -1,19 +0,0 @@
|
|||
kind: pipeline
|
||||
type: docker
|
||||
name: nginx-live
|
||||
|
||||
steps:
|
||||
- name: docker
|
||||
image: plugins/docker
|
||||
settings:
|
||||
pull_image: true
|
||||
no_cache: true
|
||||
repo: git.bluemedia.dev/bluemedia/nginx-live
|
||||
tags:
|
||||
- latest
|
||||
purge: true
|
||||
registry: git.bluemedia.dev
|
||||
username:
|
||||
from_secret: docker_username
|
||||
password:
|
||||
from_secret: docker_password
|
25
.woodpecker/docker.yaml
Normal file
25
.woodpecker/docker.yaml
Normal file
|
@ -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/nginx-live
|
||||
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 ]
|
Loading…
Reference in a new issue