From d5e9fbebc238639f0813871119ed12c48d03e048 Mon Sep 17 00:00:00 2001 From: Simon Vieille Date: Tue, 3 Jan 2023 13:18:12 +0100 Subject: [PATCH] ci(build): add ci --- .woodpecker.yml | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 .woodpecker.yml diff --git a/.woodpecker.yml b/.woodpecker.yml new file mode 100644 index 0000000..78ac686 --- /dev/null +++ b/.woodpecker.yml @@ -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]