mirror of
https://github.com/jkaninda/laravel-php-fpm.git
synced 2025-12-06 00:49:39 +01:00
Update tests (#86)
* Optimization of entrypoint * Add version file * Update tests
This commit is contained in:
6
.github/workflows/tests.yml
vendored
6
.github/workflows/tests.yml
vendored
@@ -6,6 +6,12 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
- name: Build Docker Image
|
||||||
|
run: |
|
||||||
|
docker buildx build -f src/docker/Dockerfile --build-arg phpVersion=8.4 -t ${{ vars.BUILDKIT_IMAGE }}:latest --load .
|
||||||
|
- name: Verify Docker images
|
||||||
|
run: |
|
||||||
|
docker images
|
||||||
- name: Create Laravel project
|
- name: Create Laravel project
|
||||||
run: |
|
run: |
|
||||||
composer create-project laravel/laravel laravel
|
composer create-project laravel/laravel laravel
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- 3306:3306
|
- 3306:3306
|
||||||
php-fpm:
|
php-fpm:
|
||||||
image: jkaninda/laravel-php-fpm
|
image: jkaninda/laravel-php-fpm:latest
|
||||||
container_name: php-fpm
|
container_name: php-fpm
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
#user: www-data #Use www-data user production usage
|
#user: www-data #Use www-data user production usage
|
||||||
|
|||||||
Reference in New Issue
Block a user