Skip to content

Commit

Permalink
build php 8.3 version, stop building centos7 images
Browse files Browse the repository at this point in the history
  • Loading branch information
dustinrue committed Dec 4, 2023
1 parent 87adaed commit bd2c683
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 68 deletions.
38 changes: 1 addition & 37 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
Build_PHP_Ubuntu:
strategy:
matrix:
version: ['7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2']
version: ['7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3']
environment:
name: Build
runs-on: ubuntu-latest
Expand Down Expand Up @@ -61,42 +61,6 @@ jobs:
labels: ${{ steps.meta.outputs.labels }}


Build_PHP_CentOS7:
strategy:
matrix:
version: ['7.0', '7.1']
environment:
name: Build
runs-on: ubuntu-latest
if: ${{ github.ref == 'refs/heads/trunk' }}
steps:
- name: Checkout
uses: actions/checkout@v3
with:
ref: ${{ github.ref }}

- name: Set up QEMU
uses: docker/setup-qemu-action@v2

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

- name: Login to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}


- name: Build and push CentOS based Docker images
uses: docker/[email protected]
with:
push: true
context: centos7
platforms: linux/amd64
build-args: PHP_VERSION=${{ matrix.version }}
tags: ${{ secrets.IMAGE_NAME }}:${{ matrix.version }}

Build_PHP_CentOS8:
strategy:
matrix:
Expand Down
30 changes: 1 addition & 29 deletions .github/workflows/test-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
Build_PHP_Ubuntu_Test:
strategy:
matrix:
version: ['7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2']
version: ['7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3']
environment:
name: Build
runs-on: ubuntu-latest
Expand Down Expand Up @@ -45,34 +45,6 @@ jobs:
labels: ${{ steps.meta.outputs.labels }}


Build_PHP_CentOS7_Test:
strategy:
matrix:
version: ['7.0', '7.1']
environment:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
ref: ${{ github.ref }}

- name: Set up QEMU
uses: docker/setup-qemu-action@v2

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

- name: Build and push CentOS based Docker images
uses: docker/build-push-action@v4
with:
push: false
context: centos7
platforms: linux/amd64
build-args: PHP_VERSION=${{ matrix.version }}
tags: ${{ secrets.IMAGE_NAME }}:${{ matrix.version }}

Build_PHP_CentOS8_Test:
strategy:
matrix:
Expand Down
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ They are available under the tags:

* CentOS 7 based
* 10up/wp-php-fpm-dev:5.6 (Deprecated, no longer refreshed)
* 10up/wp-php-fpm-dev:7.0 (Deprecated)
* 10up/wp-php-fpm-dev:7.1 (Deprecated)
* 10up/wp-php-fpm-dev:7.0 (Deprecated, no longer refreshed)
* 10up/wp-php-fpm-dev:7.1 (Deprecated, no longer refreshed)
* Rocky Linux 8 based
* 10up/wp-php-fpm-dev:7.2 (Deprecated)
* 10up/wp-php-fpm-dev:7.3 (Deprecated)
Expand All @@ -30,6 +30,7 @@ They are available under the tags:
* 10up/wp-php-fpm-dev:8.0-ubuntu
* 10up/wp-php-fpm-dev:8.1-ubuntu
* 10up/wp-php-fpm-dev:8.2-ubuntu
* 10up/wp-php-fpm-dev:8.3-ubuntu
* Ubuntu 22.04 based (Github Packages)
* ghcr.io/10up/wp-php-fpm-dev:7.0-ubuntu
* ghcr.io/10up/wp-php-fpm-dev:7.1-ubuntu
Expand All @@ -39,6 +40,7 @@ They are available under the tags:
* ghcr.io/10up/wp-php-fpm-dev:8.0-ubuntu
* ghcr.io/10up/wp-php-fpm-dev:8.1-ubuntu
* ghcr.io/10up/wp-php-fpm-dev:8.2-ubuntu
* ghcr.io/10up/wp-php-fpm-dev:8.3-ubuntu

## Usage

Expand Down

0 comments on commit bd2c683

Please sign in to comment.