ci(build): add ci
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Simon Vieille 2023-01-03 13:18:12 +01:00
parent d65d23ce17
commit d5e9fbebc2
Signed by: deblan
GPG key ID: 579388D585F70417

38
.woodpecker.yml Normal file
View file

@ -0,0 +1,38 @@
pipeline:
build_gitnet:
image: plugins/docker
secrets: [registry_user, registry_password]
settings:
registry: gitnet.fr
repo: gitnet.fr/${CI_REPO}
tags: ${PHP_VERSION}
username:
from_secret: registry_user
password:
from_secret: registry_password
build_hub:
image: plugins/docker
secrets: [registry_user, registry_docker_password]
settings:
repo: ${CI_REPO}
tags: ${PHP_VERSION}
username:
from_secret: registry_user
password:
from_secret: registry_docker_password
mail:
image: drillster/drone-email
settings:
host:
from_secret: mail_host
username:
from_secret: mail_username
password:
from_secret: mail_password
from:
from_secret: mail_from
subject: "[{{ repo.owner }}/{{ repo.name }}] Pipeline #{{ build.number }}: {{ build.status }}"
when:
- status: [success, failure]