Skip to content

Commit

Permalink
feat: add support for PHP 8.4
Browse files Browse the repository at this point in the history
  • Loading branch information
hussainweb committed Dec 21, 2024
1 parent 2be8dc3 commit 15deced
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
php_version: ['8.0', '8.1', '8.2', '8.3']
php_version: ['8.0', '8.1', '8.2', '8.3', '8.4']

steps:
- name: Checkout repository
Expand Down Expand Up @@ -43,8 +43,8 @@ jobs:
push: ${{ github.event_name != 'pull_request' }}
tags: |
hussainweb/drupalqa:php${{ matrix.php_version }}
${{ matrix.php_version == '8.3' && 'hussainweb/drupalqa:latest' || '' }}
${{ matrix.php_version == '8.4' && 'hussainweb/drupalqa:latest' || '' }}
ghcr.io/hussainweb/drupalqa:php${{ matrix.php_version }}
${{ matrix.php_version == '8.3' && 'ghcr.io/hussainweb/drupalqa:latest' || '' }}
${{ matrix.php_version == '8.4' && 'ghcr.io/hussainweb/drupalqa:latest' || '' }}
build-args: |
PHP_VERSION=php${{ matrix.php_version }}
5 changes: 4 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,18 @@ docker pull jakzal/phpqa:php8.0
docker pull jakzal/phpqa:php8.1
docker pull jakzal/phpqa:php8.2
docker pull jakzal/phpqa:php8.3
docker pull jakzal/phpqa:php8.4

docker build -t hussainweb/drupalqa:php8.0 --build-arg PHP_VERSION=php8.0 ${dir}/8.x/debian/
docker build -t hussainweb/drupalqa:php8.1 --build-arg PHP_VERSION=php8.1 ${dir}/8.x/debian/
docker build -t hussainweb/drupalqa:php8.2 --build-arg PHP_VERSION=php8.2 ${dir}/8.x/debian/
docker build -t hussainweb/drupalqa:php8.3 --build-arg PHP_VERSION=php8.3 ${dir}/8.x/debian/
docker tag hussainweb/drupalqa:php8.3 hussainweb/drupalqa:latest
docker build -t hussainweb/drupalqa:php8.3 --build-arg PHP_VERSION=php8.4 ${dir}/8.x/debian/
docker tag hussainweb/drupalqa:php8.4 hussainweb/drupalqa:latest

docker push hussainweb/drupalqa:php8.0
docker push hussainweb/drupalqa:php8.1
docker push hussainweb/drupalqa:php8.2
docker push hussainweb/drupalqa:php8.3
docker push hussainweb/drupalqa:php8.4
docker push hussainweb/drupalqa:latest
2 changes: 2 additions & 0 deletions clean.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@ docker rmi jakzal/phpqa:php8.0
docker rmi jakzal/phpqa:php8.1
docker rmi jakzal/phpqa:php8.2
docker rmi jakzal/phpqa:php8.3
docker rmi jakzal/phpqa:php8.4

docker rmi hussainweb/drupalqa:php8.0
docker rmi hussainweb/drupalqa:php8.1
docker rmi hussainweb/drupalqa:php8.2
docker rmi hussainweb/drupalqa:php8.3
docker rmi hussainweb/drupalqa:php8.4
docker rmi hussainweb/drupalqa:latest

0 comments on commit 15deced

Please sign in to comment.