From 0aa3a273b70309b2810fffb347089e62efe7d0b0 Mon Sep 17 00:00:00 2001 From: ma-04 <120931948+ma-04@users.noreply.github.com> Date: Thu, 22 Jan 2026 12:10:33 +0600 Subject: [PATCH] chore: add php 8.5 support --- .github/workflows/deploy.yml | 6 ++++-- .github/workflows/test.yml | 2 +- README.MD | 7 +++++++ build.sh | 1 + 4 files changed, 13 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 0aeca92..386cf22 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -22,7 +22,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - php_version: ['7.4', '8.0', '8.1', '8.2', '8.3', '8.4'] + php_version: ['7.4', '8.0', '8.1', '8.2', '8.3', '8.4', '8.5'] steps: - name: Checkout uses: actions/checkout@v4 @@ -75,7 +75,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - php_version: ['7.4', '8.1', '8.2', '8.3', '8.4'] + php_version: ['7.4', '8.1', '8.2', '8.3', '8.4', '8.5'] include: - php_version: '7.4' lsphp: 'lsphp74' @@ -87,6 +87,8 @@ jobs: lsphp: 'lsphp83' - php_version: '8.4' lsphp: 'lsphp84' + - php_version: '8.5' + lsphp: 'lsphp85' steps: - name: Checkout uses: actions/checkout@v4 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5bdc40d..8eb7c00 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -18,7 +18,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - php_version: ['7.4', '8.0', '8.1', '8.2', '8.3', '8.4'] + php_version: ['7.4', '8.0', '8.1', '8.2', '8.3', '8.4', '8.5'] steps: - name: Checkout uses: actions/checkout@v4 diff --git a/README.MD b/README.MD index e09d110..88fbba6 100644 --- a/README.MD +++ b/README.MD @@ -12,6 +12,7 @@ Docker images for PHP-FPM. - PHP 8.2 - PHP 8.3 - PHP 8.4 +- PHP 8.5 ### Getting the images @@ -30,6 +31,9 @@ docker image pull meghsh/php:8.3 # PHP 8.4 docker image pull meghsh/php:8.4 + +# PHP 8.5 +docker image pull meghsh/php:8.5 ``` ### Using the images @@ -51,6 +55,9 @@ docker run --rm meghsh/php:8.3 bash -c "php -v" # PHP 8.4 docker run --rm meghsh/php:8.4 bash -c "php -v" + +# PHP 8.5 +docker run --rm meghsh/php:8.5 bash -c "php -v" ``` With docker-compose: diff --git a/build.sh b/build.sh index 08def95..e53932c 100755 --- a/build.sh +++ b/build.sh @@ -8,3 +8,4 @@ docker build --platform linux/amd64,linux/arm64 --build-arg PHP_VERSION=8.1 -t m docker build --platform linux/amd64,linux/arm64 --build-arg PHP_VERSION=8.2 -t meghsh/php:8.2 -f php/Dockerfile php --push docker build --platform linux/amd64,linux/arm64 --build-arg PHP_VERSION=8.3 -t meghsh/php:8.3 -f php/Dockerfile php --push docker build --platform linux/amd64,linux/arm64 --build-arg PHP_VERSION=8.4 -t meghsh/php:8.4 -f php/Dockerfile php --push +docker build --platform linux/amd64,linux/arm64 --build-arg PHP_VERSION=8.5 -t meghsh/php:8.5 -f php/Dockerfile php --push