Skip to content

Commit 3b7c398

Browse files
authored
Merge pull request #19 from 10up/feature/deprecate-centos
Comments out centos job from the main build and test build actions
2 parents b2b8905 + 23190d6 commit 3b7c398

File tree

3 files changed

+2
-65
lines changed

3 files changed

+2
-65
lines changed

.github/workflows/build.yaml

Lines changed: 0 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -88,37 +88,3 @@ jobs:
8888
tags: ${{ steps.meta-others.outputs.tags }}
8989
labels: ${{ steps.meta-others.outputs.labels }}
9090

91-
92-
Build_PHP_CentOS8:
93-
strategy:
94-
matrix:
95-
version: ['7.2', '7.3', '7.4', '8.0', '8.1']
96-
environment:
97-
name: Build
98-
runs-on: ubuntu-latest
99-
steps:
100-
- name: Checkout
101-
uses: actions/checkout@v4
102-
with:
103-
ref: ${{ github.ref }}
104-
105-
- name: Set up QEMU
106-
uses: docker/setup-qemu-action@v3
107-
108-
- name: Set up Docker Buildx
109-
uses: docker/setup-buildx-action@v3
110-
111-
- name: Login to DockerHub
112-
uses: docker/login-action@v3
113-
with:
114-
username: ${{ secrets.DOCKERHUB_USERNAME }}
115-
password: ${{ secrets.DOCKERHUB_TOKEN }}
116-
117-
- name: Build and push CentOS based Docker images
118-
uses: docker/build-push-action@v6
119-
with:
120-
push: true
121-
context: centos8
122-
platforms: linux/amd64
123-
build-args: PHP_VERSION=${{ matrix.version }}
124-
tags: ${{ secrets.IMAGE_NAME }}:${{ matrix.version }}

.github/workflows/test-build.yaml

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -72,32 +72,3 @@ jobs:
7272
UBUNTU_RELEASE_NAME=${{ matrix.ubuntu-release-name }}
7373
tags: ${{ steps.meta-others.outputs.tags }}
7474
labels: ${{ steps.meta-others.outputs.labels }}
75-
76-
77-
Build_PHP_CentOS8_Test:
78-
strategy:
79-
matrix:
80-
version: ['7.2', '7.3', '7.4', '8.0', '8.1']
81-
environment:
82-
name: Build
83-
runs-on: ubuntu-latest
84-
steps:
85-
- name: Checkout
86-
uses: actions/checkout@v4
87-
with:
88-
ref: ${{ github.ref }}
89-
90-
- name: Set up QEMU
91-
uses: docker/setup-qemu-action@v3
92-
93-
- name: Set up Docker Buildx
94-
uses: docker/setup-buildx-action@v3
95-
96-
- name: Build and push CentOS based Docker images
97-
uses: docker/build-push-action@v6
98-
with:
99-
push: false
100-
context: centos8
101-
platforms: linux/amd64
102-
build-args: PHP_VERSION=${{ matrix.version }}
103-
tags: ${{ secrets.IMAGE_NAME }}:${{ matrix.version }}

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
# Base PHP
22

3-
This image is the parent for a number of downstream images that make use of PHP either as a commandline tool or for php-fpm. The images are created from a number of base operating systems including CentOS 7, Rocky Linux 8 and Ubuntu 22.04 and 24.04. The non-Ubuntu based images are now deprecated and will be replaced with Ubuntu based images over time. This image is meant to be minimal and aims to support the needs of a WordPress ecosystem. The images are offered in both x86_64 and arm64 architectures.
3+
This image is the parent for a number of downstream images that make use of PHP either as a commandline tool or for php-fpm. The images are created from a number of base operating systems including Rocky Linux 8 and Ubuntu 22.04 and 24.04. The non-Ubuntu based images are now deprecated and will be replaced with Ubuntu based images over time. This image is meant to be minimal and aims to support the needs of a WordPress ecosystem. The images are offered in both x86_64 and arm64 architectures.
44

55
## Usage
66

77
This image, by itself, is not particularly useful. When run it passes arguments to PHP. This image is used by [10up/wp-php-fpm](https://github.com/10up/wp-php-fpm), [10up/wp-php-fpm-dev](https://github.com/10up/wp-php-fpm-dev) and more. You might use it as the basis for your own image.
88

99
## Building
1010

11-
There are currently a number of images being built for the different operating systems. This image is built with support for PHP 7.0, 7.1, 7.2, 7.3, 7.4, 8.0, 8.1, 8.2, 8.3 and 8.4. Note that we do not build CentOS/Rocky Linux based images beyond 8.1 and they will be removed in the future.
11+
There are currently a number of images being built for the different operating systems. This image is built with support for PHP 7.0, 7.1, 7.2, 7.3, 7.4, 8.0, 8.1, 8.2, 8.3 and 8.4. Note that we do not build Rocky Linux based images beyond 8.1 and they will be removed in the future.
1212

1313
Also note that CentOS/RL based images are not being pushed to ghcr.io!
1414

0 commit comments

Comments
 (0)