This commit is contained in:
parent
c619bb3dbe
commit
9067f7dcc1
128
.drone.yml
128
.drone.yml
@ -2,22 +2,22 @@ kind: pipeline
|
|||||||
name: default
|
name: default
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: php8.1-rc
|
# - name: php8.1-rc
|
||||||
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=8.1-rc-fpm-alpine3.13
|
# - PHP_VERSION=8.1-rc-fpm-alpine3.13
|
||||||
tags: 8.1-rc-alpine
|
# tags: 8.1-rc-alpine
|
||||||
when:
|
# when:
|
||||||
branch:
|
# branch:
|
||||||
- master
|
# - master
|
||||||
depends_on: [ clone ]
|
# depends_on: [ clone ]
|
||||||
|
|
||||||
- name: php8.0
|
- name: php8.0
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
@ -36,53 +36,53 @@ steps:
|
|||||||
- master
|
- master
|
||||||
depends_on: [ clone ]
|
depends_on: [ clone ]
|
||||||
|
|
||||||
- name: php7.4
|
# - name: php7.4
|
||||||
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.4-fpm-alpine3.13
|
# - PHP_VERSION=7.4-fpm-alpine3.13
|
||||||
tags: 7.4-alpine
|
# tags: 7.4-alpine
|
||||||
when:
|
# when:
|
||||||
branch:
|
# branch:
|
||||||
- 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.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 ]
|
||||||
|
@ -2,6 +2,8 @@
|
|||||||
|
|
||||||
|
|
||||||
if [ -f /var/www/override.ini ]; then
|
if [ -f /var/www/override.ini ]; then
|
||||||
rm /usr/local/etc/php/conf.d/02-project-override.ini
|
if [ -f /usr/local/etc/php/conf.d/02-project-override.ini ]; then
|
||||||
|
rm /usr/local/etc/php/conf.d/02-project-override.ini
|
||||||
|
fi
|
||||||
ln -s /var/www/override.ini /usr/local/etc/php/conf.d/02-project-override.ini
|
ln -s /var/www/override.ini /usr/local/etc/php/conf.d/02-project-override.ini
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user