This commit is contained in:
Aleksander Cynarski 2021-05-21 13:30:39 +02:00
parent f2c683917f
commit 6766db85b0
Signed by: paramah
GPG Key ID: C4340BA42B9C173A
2 changed files with 19 additions and 0 deletions

View File

@ -56,6 +56,24 @@ steps:
- master
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
image: plugins/webhook

View File

@ -2,6 +2,7 @@
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
mv /usr/local/etc/php/php.ini-$ENVIRONMENT /usr/local/etc/php/php.ini