docker-php/.woodpecker.yml
Simon Vieille 2b94af0bc3
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci(mail): update mail image
2023-01-04 15:49:54 +01:00

49 lines
1.1 KiB
YAML

matrix:
PHP_VERSION:
- 7.1
- 7.3
- 7.4
- 8.0
- 8.1
pipeline:
build_gitnet:
image: plugins/docker
secrets: [registry_user, registry_password]
settings:
registry: gitnet.fr
dockerfile: ./Dockerfile.php${PHP_VERSION}
repo: gitnet.fr/${CI_REPO/docker-/}
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:
dockerfile: ./Dockerfile.php${PHP_VERSION}
repo: ${CI_REPO/docker-/}
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]