ci(conf): use deblan php images
Some checks are pending
ci/woodpecker/push/woodpecker Pipeline is pending

This commit is contained in:
Simon Vieille 2023-01-09 22:51:39 +01:00
parent c16e4652cb
commit b1bf3a42a1
Signed by: deblan
GPG key ID: 579388D585F70417

View file

@ -22,7 +22,7 @@ pipeline:
- mysql -hdb -uroot -proot -e "CREATE DATABASE app_test"
config:
image: deblan/php:8.1
image: gitnet.fr/deblan/php:8.1
commands:
- echo APP_ENV=prod >> .env.local
- echo APP_SECRET=$(openssl rand -hex 32) >> .env.local
@ -30,13 +30,13 @@ pipeline:
- echo DATABASE_URL=mysql://root:root@db/app_test >> .env.test.local
composer:
image: deblan/php:${PHP_VERSION}
image: gitnet.fr/deblan/php:${PHP_VERSION}
commands:
- apt-get update && apt-get -y install git
- composer install --no-scripts
migrate:
image: deblan/php:${PHP_VERSION}
image: gitnet.fr/deblan/php:${PHP_VERSION}
environment:
- PHP=php
commands:
@ -51,7 +51,7 @@ pipeline:
- npm run build
tests:
image: deblan/php:${PHP_VERSION}
image: gitnet.fr/deblan/php:${PHP_VERSION}
commands:
- composer install --no-scripts --dev
- vendor/bin/bdi detect drivers