This commit is contained in:
56
.drone.yml
Normal file
56
.drone.yml
Normal file
@@ -0,0 +1,56 @@
|
||||
kind: pipeline
|
||||
name: default
|
||||
|
||||
steps:
|
||||
- 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:
|
||||
- alpine
|
||||
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.12
|
||||
tags: 7.3-alpine
|
||||
when:
|
||||
branch:
|
||||
- alpine
|
||||
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:
|
||||
- alpine
|
||||
depends_on: [ clone ]
|
||||
|
||||
|
Reference in New Issue
Block a user