update ci conf
This commit is contained in:
parent
1e03c7deac
commit
68eb253554
41
.woodpecker/.cron.yml
Normal file
41
.woodpecker/.cron.yml
Normal file
|
@ -0,0 +1,41 @@
|
||||||
|
when:
|
||||||
|
event: cron
|
||||||
|
|
||||||
|
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: deblan/woodpecker-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]
|
Loading…
Reference in a new issue