Skip to content

Commit

Permalink
Add php 8.4
Browse files Browse the repository at this point in the history
  • Loading branch information
csandanov committed Nov 23, 2024
1 parent 6061824 commit 8f18997
Show file tree
Hide file tree
Showing 4 changed files with 56 additions and 7 deletions.
47 changes: 44 additions & 3 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,19 @@ env:
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}

jobs:
php84:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: docker/setup-qemu-action@v3
with:
platforms: amd64,arm64
- uses: docker/setup-buildx-action@v3
- uses: ./.github/actions
with:
version: '8.4'
tags: 8.4,8,latest
platform: linux/amd64,linux/arm64
php83:
runs-on: ubuntu-latest
steps:
Expand All @@ -27,7 +40,7 @@ jobs:
- uses: ./.github/actions
with:
version: '8.3'
tags: 8.3,8,latest
tags: 8.3
platform: linux/amd64,linux/arm64
php82:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -56,6 +69,20 @@ jobs:
tags: 8.1
platform: linux/amd64,linux/arm64
### dev
php84-dev:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: docker/setup-qemu-action@v3
with:
platforms: amd64,arm64
- uses: docker/setup-buildx-action@v3
- uses: ./.github/actions
with:
version: '8.4'
dev: 1
tags: 8.4-dev,8-dev,dev
platform: linux/amd64,linux/arm64
php83-dev:
runs-on: ubuntu-latest
steps:
Expand All @@ -68,7 +95,7 @@ jobs:
with:
version: '8.3'
dev: 1
tags: 8.3-dev,8-dev,dev
tags: 8.3-dev
platform: linux/amd64,linux/arm64
php82-dev:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -99,6 +126,20 @@ jobs:
tags: 8.1-dev
platform: linux/amd64,linux/arm64
### dev-macos
php84-dev-macos:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: docker/setup-qemu-action@v3
with:
platforms: amd64,arm64
- uses: docker/setup-buildx-action@v3
- uses: ./.github/actions
with:
version: '8.4'
dev_macos: 1
tags: 8.4-dev-macos,8-dev-macos,dev-macos
platform: linux/amd64,linux/arm64
php83-dev-macos:
runs-on: ubuntu-latest
steps:
Expand All @@ -111,7 +152,7 @@ jobs:
with:
version: '8.3'
dev_macos: 1
tags: 8.3-dev-macos,8-dev-macos,dev-macos
tags: 8.3-dev-macos
platform: linux/amd64,linux/arm64
php82-dev-macos:
runs-on: ubuntu-latest
Expand Down
1 change: 1 addition & 0 deletions .php
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
8.4#2024-11-23T06:25:18.100787Z
8.3#2024-11-23T06:25:18.100787Z
8.2#2024-11-23T06:25:18.100787Z
8.1#2024-11-23T06:25:18.100787Z
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
-include env_make

PHP_VER ?= 8.3
PHP_VER ?= 8.4

BASE_IMAGE_TAG = $(PHP_VER)
REGISTRY ?= docker.io
Expand Down Expand Up @@ -70,6 +70,10 @@ ifeq ($(PHP_VER),8.3)
@echo "Drupal 7 doesn't support PHP 8.3"
cd ./tests/11 && IMAGE=$(REPO):$(TAG) ./run.sh
# cd ./tests/10 && IMAGE=$(REPO):$(TAG) ./run.sh
else ifeq ($(PHP_VER),8.4)
@echo "Drupal 7 doesn't support PHP 8.4"
cd ./tests/11 && IMAGE=$(REPO):$(TAG) ./run.sh
# cd ./tests/10 && IMAGE=$(REPO):$(TAG) ./run.sh
else
cd ./tests/10 && IMAGE=$(REPO):$(TAG) ./run.sh
cd ./tests/7 && IMAGE=$(REPO):$(TAG) ./run.sh
Expand Down
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,16 @@ Overview:

Supported tags and respective `Dockerxfile` links:

- `8.3`, `8`, `latest` [_(Dockerfile)_]
- `8.4`, `8`, `latest` [_(Dockerfile)_]
- `8.3` [_(Dockerfile)_]
- `8.2` [_(Dockerfile)_]
- `8.1` [_(Dockerfile)_]
- `8.3-dev`, `8-dev`, `dev` [_(Dockerfile)_]
- `8.4-dev`, `8-dev`, `dev` [_(Dockerfile)_]
- `8.3-dev` [_(Dockerfile)_]
- `8.2-dev` [_(Dockerfile)_]
- `8.1-dev` [_(Dockerfile)_]
- `8.3-dev-macos`, `8-dev-macos`, `dev-macos` [_(Dockerfile)_]
- `8.4-dev-macos`, `8-dev-macos`, `dev-macos` [_(Dockerfile)_]
- `8.3-dev-macos` [_(Dockerfile)_]
- `8.2-dev-macos` [_(Dockerfile)_]
- `8.1-dev-macos` [_(Dockerfile)_]

Expand Down

0 comments on commit 8f18997

Please sign in to comment.