This commit is contained in:
81
.drone.yml
81
.drone.yml
@@ -2,6 +2,43 @@ kind: pipeline
|
||||
name: default
|
||||
|
||||
steps:
|
||||
- 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:
|
||||
- PHP_VERSION=8.0-fpm-alpine
|
||||
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:
|
||||
- PHP_VERSION=8.0-fpm-alpine
|
||||
- ENVIRONMENT=development
|
||||
tags: 8.0-alpine-dev
|
||||
when:
|
||||
branch:
|
||||
- master
|
||||
depends_on: [ clone ]
|
||||
|
||||
- name: php7.4
|
||||
image: plugins/docker
|
||||
pull: if-not-exists
|
||||
@@ -13,7 +50,7 @@ steps:
|
||||
repo:
|
||||
from_secret: hub_repo
|
||||
build_args:
|
||||
- PHP_VERSION=7.4-fpm-alpine3.13
|
||||
- PHP_VERSION=7.4-fpm-alpine
|
||||
tags: 7.4-alpine
|
||||
when:
|
||||
branch:
|
||||
@@ -31,7 +68,7 @@ steps:
|
||||
repo:
|
||||
from_secret: hub_repo
|
||||
build_args:
|
||||
- PHP_VERSION=7.4-fpm-alpine3.13
|
||||
- PHP_VERSION=7.4-fpm-alpine
|
||||
- ENVIRONMENT=development
|
||||
tags: 7.4-alpine-dev
|
||||
when:
|
||||
@@ -50,31 +87,13 @@ steps:
|
||||
repo:
|
||||
from_secret: hub_repo
|
||||
build_args:
|
||||
- PHP_VERSION=7.3-fpm-alpine3.12
|
||||
- PHP_VERSION=7.3-fpm-alpine
|
||||
tags: 7.3-alpine
|
||||
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.3-dev
|
||||
image: plugins/docker
|
||||
pull: if-not-exists
|
||||
@@ -86,10 +105,28 @@ steps:
|
||||
repo:
|
||||
from_secret: hub_repo
|
||||
build_args:
|
||||
- PHP_VERSION=7.3-fpm-alpine3.12
|
||||
- PHP_VERSION=7.3-fpm-alpine
|
||||
- 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-alpine
|
||||
tags: 7.2-alpine
|
||||
when:
|
||||
branch:
|
||||
- master
|
||||
depends_on: [ clone ]
|
Reference in New Issue
Block a user