Aleksander Cynarski
6f0bc26f81
All checks were successful
continuous-integration/drone/push Build is passing
95 lines
2.0 KiB
YAML
95 lines
2.0 KiB
YAML
kind: pipeline
|
|
name: default
|
|
|
|
steps:
|
|
- name: php7.4
|
|
image: plugins/docker
|
|
settings:
|
|
username:
|
|
from_secret: hub_username
|
|
password:
|
|
from_secret: hub_password
|
|
repo:
|
|
from_secret: hub_repo
|
|
build_args:
|
|
- PHP_VERSION=7.4-fpm-alpine3.13
|
|
tags: 7.4-alpine
|
|
when:
|
|
branch:
|
|
- master
|
|
depends_on: [ clone ]
|
|
|
|
- name: php7.3
|
|
image: plugins/docker
|
|
settings:
|
|
username:
|
|
from_secret: hub_username
|
|
password:
|
|
from_secret: hub_password
|
|
repo:
|
|
from_secret: hub_repo
|
|
build_args:
|
|
- PHP_VERSION=7.3-fpm-alpine3.12
|
|
tags: 7.3-alpine
|
|
when:
|
|
branch:
|
|
- master
|
|
depends_on: [ clone ]
|
|
|
|
- name: php7.2
|
|
image: plugins/docker
|
|
settings:
|
|
username:
|
|
from_secret: hub_username
|
|
password:
|
|
from_secret: hub_password
|
|
repo:
|
|
from_secret: hub_repo
|
|
build_args:
|
|
- PHP_VERSION=7.2-fpm-alpine3.12
|
|
tags: 7.2-alpine
|
|
when:
|
|
branch:
|
|
- master
|
|
depends_on: [ clone ]
|
|
|
|
|
|
- name: webhook_74
|
|
image: plugins/webhook
|
|
settings:
|
|
urls: https://huginn.cynarski.pl/users/1/web_requests/18/Qimktqp5KsPz8S9EgNrUuSuXU93GRHYL
|
|
content_type: application/json
|
|
template: |
|
|
{
|
|
"title": "{{ build.status }} - {{ repo.name }} (7.4)",
|
|
"details": "{{ repo.name }}"
|
|
}
|
|
debug: true
|
|
depends_on: [ php7.4 ]
|
|
|
|
|
|
- name: webhook_73
|
|
image: plugins/webhook
|
|
settings:
|
|
urls: https://huginn.cynarski.pl/users/1/web_requests/18/Qimktqp5KsPz8S9EgNrUuSuXU93GRHYL
|
|
content_type: application/json
|
|
template: |
|
|
{
|
|
"title": "{{ build.status }} - {{ repo.name }} (7.3)",
|
|
"details": "{{ repo.name }}"
|
|
}
|
|
debug: true
|
|
depends_on: [ php7.3 ]
|
|
|
|
- name: webhook_72
|
|
image: plugins/webhook
|
|
settings:
|
|
urls: https://huginn.cynarski.pl/users/1/web_requests/18/Qimktqp5KsPz8S9EgNrUuSuXU93GRHYL
|
|
content_type: application/json
|
|
template: |
|
|
{
|
|
"title": "{{ build.status }} - {{ repo.name }} (7.2)",
|
|
"details": "{{ repo.name }}"
|
|
}
|
|
debug: true
|
|
depends_on: [ php7.2 ] |