Merge pull request #36 from jkaninda/develop

Add php 8.4
This commit is contained in:
2024-11-24 13:18:41 +01:00
committed by GitHub
4 changed files with 7 additions and 6 deletions

View File

@@ -50,15 +50,15 @@ jobs:
phpVersion=8.3 phpVersion=8.3
tags: | tags: |
"${{vars.BUILDKIT_IMAGE}}:8.3" "${{vars.BUILDKIT_IMAGE}}:8.3"
"${{vars.BUILDKIT_IMAGE}}:latest"
- -
name: Build and push 8.4 RC name: Build and push 8.4
uses: docker/build-push-action@v3 uses: docker/build-push-action@v3
with: with:
file: "./src/docker/Dockerfile" file: "./src/docker/Dockerfile"
push: true push: true
platforms: linux/amd64,linux/arm64 platforms: linux/amd64,linux/arm64
build-args: | build-args: |
phpVersion=8.4.0RC4 phpVersion=8.4
tags: | tags: |
"${{vars.BUILDKIT_IMAGE}}:8.4.0RC4" "${{vars.BUILDKIT_IMAGE}}:8.4"
"${{vars.BUILDKIT_IMAGE}}:latest"

View File

@@ -18,4 +18,4 @@ build-83:
docker build --build-arg phpVersion=8.3 -f src/docker/Dockerfile -t ${IMAGE_NAME}:8.3 . docker build --build-arg phpVersion=8.3 -f src/docker/Dockerfile -t ${IMAGE_NAME}:8.3 .
.PHONY: build-84 .PHONY: build-84
build-84: build-84:
docker build --build-arg phpVersion=8.4.0RC4 -f src/docker/Dockerfile -t ${IMAGE_NAME}:8.4 . docker build --build-arg phpVersion=8.4 -f src/docker/Dockerfile -t ${IMAGE_NAME}:8.4 .

View File

@@ -11,6 +11,7 @@
- [Github](https://github.com/jkaninda/nginx-php-fpm) - [Github](https://github.com/jkaninda/nginx-php-fpm)
## PHP Versions: ## PHP Versions:
- 8.4
- 8.3 - 8.3
- 8.2 - 8.2
- 8.1 - 8.1

View File

@@ -1,4 +1,4 @@
ARG phpVersion=8.3 ARG phpVersion=8.3-dev
FROM php:${phpVersion}-fpm FROM php:${phpVersion}-fpm
ARG WORKDIR=/var/www/html ARG WORKDIR=/var/www/html
ENV DOCUMENT_ROOT=${WORKDIR} ENV DOCUMENT_ROOT=${WORKDIR}