php/.drone.yml

133 lines
2.5 KiB
YAML
Raw Normal View History

2021-03-28 18:50:39 +00:00
kind: pipeline
name: default
steps:
2021-07-02 14:09:52 +00:00
- name: php8.0
image: plugins/docker
pull: if-not-exists
settings:
username:
from_secret: hub_username
password:
from_secret: hub_password
repo:
from_secret: hub_repo
build_args:
2021-07-02 19:36:17 +00:00
- PHP_VERSION=8.0-fpm-alpine3.13
2021-07-02 14:09:52 +00:00
tags: 8.0-alpine
when:
branch:
- master
depends_on: [ clone ]
- name: php8.0-dev
image: plugins/docker
pull: if-not-exists
settings:
username:
from_secret: hub_username
password:
from_secret: hub_password
repo:
from_secret: hub_repo
build_args:
2021-07-02 19:36:17 +00:00
- PHP_VERSION=8.0-fpm-alpine3.13
2021-07-02 14:09:52 +00:00
- ENVIRONMENT=development
tags: 8.0-alpine-dev
when:
branch:
- master
2021-07-02 18:57:43 +00:00
depends_on: [ php8.0 ]
2021-07-02 14:09:52 +00:00
2021-03-28 18:50:39 +00:00
- name: php7.4
image: plugins/docker
2021-04-11 12:54:23 +00:00
pull: if-not-exists
2021-03-28 18:50:39 +00:00
settings:
username:
from_secret: hub_username
password:
from_secret: hub_password
repo:
from_secret: hub_repo
build_args:
2021-07-02 19:36:17 +00:00
- PHP_VERSION=7.4-fpm-alpine3.13
2021-03-28 18:50:39 +00:00
tags: 7.4-alpine
when:
branch:
2021-03-28 18:52:02 +00:00
- master
2021-03-28 18:50:39 +00:00
depends_on: [ clone ]
2021-06-14 16:58:52 +00:00
- name: php7.4-dev
image: plugins/docker
pull: if-not-exists
settings:
username:
from_secret: hub_username
password:
from_secret: hub_password
repo:
from_secret: hub_repo
build_args:
2021-07-02 19:36:17 +00:00
- PHP_VERSION=7.4-fpm-alpine3.13
2021-06-14 16:58:52 +00:00
- ENVIRONMENT=development
tags: 7.4-alpine-dev
when:
branch:
- master
2021-07-02 18:57:43 +00:00
depends_on: [ php7.4 ]
2021-06-14 16:58:52 +00:00
2021-03-28 18:50:39 +00:00
- name: php7.3
image: plugins/docker
2021-04-11 12:54:23 +00:00
pull: if-not-exists
2021-03-28 18:50:39 +00:00
settings:
username:
from_secret: hub_username
password:
from_secret: hub_password
repo:
from_secret: hub_repo
build_args:
2021-07-02 19:36:17 +00:00
- PHP_VERSION=7.3-fpm-alpine3.13
2021-03-28 18:50:39 +00:00
tags: 7.3-alpine
when:
branch:
2021-03-28 18:52:02 +00:00
- master
2021-03-28 18:50:39 +00:00
depends_on: [ clone ]
2021-07-02 14:09:52 +00:00
- name: php7.3-dev
2021-03-28 18:50:39 +00:00
image: plugins/docker
2021-04-11 12:54:23 +00:00
pull: if-not-exists
2021-03-28 18:50:39 +00:00
settings:
username:
from_secret: hub_username
password:
from_secret: hub_password
repo:
from_secret: hub_repo
build_args:
2021-07-02 19:36:17 +00:00
- PHP_VERSION=7.3-fpm-alpine3.13
2021-07-02 14:09:52 +00:00
- ENVIRONMENT=development
tags: 7.3-alpine-dev
2021-03-28 18:50:39 +00:00
when:
branch:
2021-03-28 18:52:02 +00:00
- master
2021-07-02 18:57:43 +00:00
depends_on: [ php7.3 ]
2021-03-28 18:50:39 +00:00
2021-07-02 14:09:52 +00:00
- name: php7.2
2021-05-21 11:30:39 +00:00
image: plugins/docker
pull: if-not-exists
settings:
username:
from_secret: hub_username
password:
from_secret: hub_password
repo:
from_secret: hub_repo
build_args:
2021-07-02 19:42:59 +00:00
- PHP_VERSION=7.2-fpm-alpine3.12
2021-07-02 14:09:52 +00:00
tags: 7.2-alpine
2021-05-21 11:30:39 +00:00
when:
branch:
- master
2021-07-02 18:57:43 +00:00
depends_on: [ clone ]