parallel build
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Aleksander Cynarski 2021-07-02 23:29:14 +02:00
parent 4373f8c34c
commit db98343477
Signed by: paramah
GPG Key ID: C4340BA42B9C173A

View File

@ -4,7 +4,6 @@ name: default
steps:
- name: php8.0
image: plugins/docker
pull: if-not-exists
settings:
username:
from_secret: hub_username
@ -20,113 +19,107 @@ steps:
- 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:
- PHP_VERSION=8.0-fpm-alpine3.13
- ENVIRONMENT=development
tags: 8.0-alpine-dev
when:
branch:
- master
depends_on: [ clone ]
# - name: php8.0-dev
# image: plugins/docker
# settings:
# username:
# from_secret: hub_username
# password:
# from_secret: hub_password
# repo:
# from_secret: hub_repo
# build_args:
# - PHP_VERSION=8.0-fpm-alpine3.13
# - ENVIRONMENT=development
# tags: 8.0-alpine-dev
# when:
# branch:
# - master
# depends_on: [ clone ]
- name: php7.4
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:
- PHP_VERSION=7.4-fpm-alpine3.13
tags: 7.4-alpine
when:
branch:
- master
depends_on: [ clone ]
# - 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.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:
- PHP_VERSION=7.4-fpm-alpine3.13
- ENVIRONMENT=development
tags: 7.4-alpine-dev
when:
branch:
- master
depends_on: [ clone ]
# - name: php7.4-dev
# 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
# - ENVIRONMENT=development
# tags: 7.4-alpine-dev
# when:
# branch:
# - master
# depends_on: [ clone ]
- name: php7.3
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:
- PHP_VERSION=7.3-fpm-alpine3.13
tags: 7.3-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.13
# tags: 7.3-alpine
# when:
# branch:
# - master
# depends_on: [ clone ]
- name: php7.3-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:
- PHP_VERSION=7.3-fpm-alpine3.13
- ENVIRONMENT=development
tags: 7.3-alpine-dev
when:
branch:
- master
depends_on: [ clone ]
# - name: php7.3-dev
# 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.13
# - ENVIRONMENT=development
# tags: 7.3-alpine-dev
# when:
# branch:
# - master
# depends_on: [ clone ]
- name: php7.2
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:
- PHP_VERSION=7.2-fpm-alpine3.12
tags: 7.2-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 ]