Migrate to Woodpecker CI

This commit is contained in:
Oliver Traber 2023-07-09 22:15:15 +02:00
parent 709530a2b9
commit 664925d246
Signed by: Bluemedia
GPG key ID: C0674B105057136C
2 changed files with 25 additions and 19 deletions

View file

@ -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
View 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 ]