dev
This commit is contained in:
parent
f2c683917f
commit
6766db85b0
18
.drone.yml
18
.drone.yml
@ -56,6 +56,24 @@ steps:
|
|||||||
- master
|
- master
|
||||||
depends_on: [ clone ]
|
depends_on: [ clone ]
|
||||||
|
|
||||||
|
- name: php7.3-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.3-fpm-alpine3.12
|
||||||
|
- ENVIRONMENT=dev
|
||||||
|
tags: 7.3-alpine
|
||||||
|
when:
|
||||||
|
branch:
|
||||||
|
- master
|
||||||
|
depends_on: [ clone ]
|
||||||
|
|
||||||
- name: webhook
|
- name: webhook
|
||||||
image: plugins/webhook
|
image: plugins/webhook
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
PHP_VERSION=`php -r 'echo PHP_MAJOR_VERSION.PHP_MINOR_VERSION;'`
|
PHP_VERSION=`php -r 'echo PHP_MAJOR_VERSION.PHP_MINOR_VERSION;'`
|
||||||
|
|
||||||
|
echo "Acutal environment: ${ENVIRONMENT}"
|
||||||
|
|
||||||
if [ -f /usr/local/etc/php/php.ini-$ENVIRONMENT ]; then
|
if [ -f /usr/local/etc/php/php.ini-$ENVIRONMENT ]; then
|
||||||
mv /usr/local/etc/php/php.ini-$ENVIRONMENT /usr/local/etc/php/php.ini
|
mv /usr/local/etc/php/php.ini-$ENVIRONMENT /usr/local/etc/php/php.ini
|
||||||
|
Loading…
Reference in New Issue
Block a user