Skip to content

Commit 09fb024

Browse files
committed
Comments out centos job from the main build and test build actions
1 parent b2b8905 commit 09fb024

File tree

2 files changed

+62
-62
lines changed

2 files changed

+62
-62
lines changed

.github/workflows/build.yaml

Lines changed: 34 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -88,37 +88,37 @@ 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 }}
91+
# CentOS images have been deprecated
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: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -73,31 +73,31 @@ jobs:
7373
tags: ${{ steps.meta-others.outputs.tags }}
7474
labels: ${{ steps.meta-others.outputs.labels }}
7575

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 }}
76+
# CentOS has been deprecated
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 }}

0 commit comments

Comments
 (0)