php_helper improve for dev/test
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2021-06-14 18:58:52 +02:00
parent af76d066c9
commit be2e033263
3 changed files with 26 additions and 6 deletions

View File

@@ -20,6 +20,25 @@ steps:
- 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.3
image: plugins/docker
pull: if-not-exists
@@ -68,7 +87,7 @@ steps:
from_secret: hub_repo
build_args:
- PHP_VERSION=7.3-fpm-alpine3.12
- ENVIRONMENT=dev
- ENVIRONMENT=development
tags: 7.3-alpine-dev
when:
branch: