only production images
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Aleksander Cynarski 2021-07-03 11:39:04 +02:00
parent 131f8fcd46
commit df352c58b9
Signed by: paramah
GPG Key ID: C4340BA42B9C173A

View File

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