From 981e79e56f38e1f0388cc0b39264c661d611c6a9 Mon Sep 17 00:00:00 2001 From: ma-04 <120931948+ma-04@users.noreply.github.com> Date: Tue, 20 Jan 2026 15:20:09 +0600 Subject: [PATCH 1/5] fix: fix build failure related to composer git clone using ssh --- php/Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/php/Dockerfile b/php/Dockerfile index 2bf5b62..81df4ca 100644 --- a/php/Dockerfile +++ b/php/Dockerfile @@ -8,11 +8,13 @@ RUN apk add --no-cache curl \ # Stage for WP-CLI FROM php:${PHP_VERSION}-cli-alpine AS wpcli_builder -RUN apk add --no-cache curl \ + +RUN apk add --no-cache curl git \ && curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar \ && chmod +x wp-cli.phar \ && mv wp-cli.phar /usr/local/bin/wp \ - && wp package install wp-cli/doctor-command:@stable --allow-root \ + && git clone https://github.com/wp-cli/doctor-command.git /tmp/doctor-command \ + && wp --allow-root package install /tmp/doctor-command \ && mkdir -p /home/www-data/.wp-cli \ && mv ~/.wp-cli/packages /home/www-data/.wp-cli/ \ && chown -R www-data:www-data /home/www-data/.wp-cli \ From ca8bc07e5b2171b92f67d57ecbf2eb356b5e2a1b Mon Sep 17 00:00:00 2001 From: ma-04 <120931948+ma-04@users.noreply.github.com> Date: Wed, 21 Jan 2026 13:18:16 +0600 Subject: [PATCH 2/5] fix: Use git repo instead of package name --- php/Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/php/Dockerfile b/php/Dockerfile index 81df4ca..40ffb67 100644 --- a/php/Dockerfile +++ b/php/Dockerfile @@ -13,8 +13,7 @@ RUN apk add --no-cache curl git \ && curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar \ && chmod +x wp-cli.phar \ && mv wp-cli.phar /usr/local/bin/wp \ - && git clone https://github.com/wp-cli/doctor-command.git /tmp/doctor-command \ - && wp --allow-root package install /tmp/doctor-command \ + && wp --allow-root package install https://github.com/wp-cli/doctor-command.git \ && mkdir -p /home/www-data/.wp-cli \ && mv ~/.wp-cli/packages /home/www-data/.wp-cli/ \ && chown -R www-data:www-data /home/www-data/.wp-cli \ From 7a86e7ac4c869244e1519f0224e2529ed3e29833 Mon Sep 17 00:00:00 2001 From: ma-04 <120931948+ma-04@users.noreply.github.com> Date: Thu, 22 Jan 2026 11:34:32 +0600 Subject: [PATCH 3/5] fix: build failure --- php/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/php/Dockerfile b/php/Dockerfile index 40ffb67..66d9e56 100644 --- a/php/Dockerfile +++ b/php/Dockerfile @@ -13,8 +13,8 @@ RUN apk add --no-cache curl git \ && curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar \ && chmod +x wp-cli.phar \ && mv wp-cli.phar /usr/local/bin/wp \ - && wp --allow-root package install https://github.com/wp-cli/doctor-command.git \ && mkdir -p /home/www-data/.wp-cli \ + && wp --allow-root package install https://github.com/wp-cli/doctor-command.git \ && mv ~/.wp-cli/packages /home/www-data/.wp-cli/ \ && chown -R www-data:www-data /home/www-data/.wp-cli \ && rm -rf /var/cache/apk/* From 9d434c867c17bc0535c6e4e32b93a1cf6f58d59a Mon Sep 17 00:00:00 2001 From: ma-04 <120931948+ma-04@users.noreply.github.com> Date: Thu, 22 Jan 2026 11:38:44 +0600 Subject: [PATCH 4/5] chore: update to latest build-push-action@v6 --- .github/workflows/deploy.yml | 8 ++++---- .github/workflows/test.yml | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 0aeca92..883be3c 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -34,7 +34,7 @@ jobs: uses: docker/setup-buildx-action@v3 - name: Build PHP Docker image - uses: docker/build-push-action@v5 + uses: docker/build-push-action@v6 with: file: php/Dockerfile context: php @@ -61,7 +61,7 @@ jobs: - name: Push PHP Docker image if: success() - uses: docker/build-push-action@v5 + uses: docker/build-push-action@v6 with: file: php/Dockerfile context: php @@ -100,7 +100,7 @@ jobs: uses: docker/setup-buildx-action@v3 - name: Build OpenLiteSpeed Docker image - uses: docker/build-push-action@v5 + uses: docker/build-push-action@v6 with: file: openlitespeed/Dockerfile context: openlitespeed @@ -128,7 +128,7 @@ jobs: - name: Push OpenLiteSpeed Docker image if: success() - uses: docker/build-push-action@v5 + uses: docker/build-push-action@v6 with: file: openlitespeed/Dockerfile context: openlitespeed diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5bdc40d..8854902 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -32,7 +32,7 @@ jobs: uses: docker/setup-buildx-action@v3 - name: Build PHP Docker image - uses: docker/build-push-action@v5 + uses: docker/build-push-action@v6 with: file: php/Dockerfile context: php @@ -77,7 +77,7 @@ jobs: uses: docker/setup-buildx-action@v3 - name: Build OpenLiteSpeed Docker image - uses: docker/build-push-action@v5 + uses: docker/build-push-action@v6 with: file: openlitespeed/Dockerfile context: openlitespeed From 3895a65945c729e10f08a15b4005017519762ac6 Mon Sep 17 00:00:00 2001 From: ma-04 <120931948+ma-04@users.noreply.github.com> Date: Thu, 22 Jan 2026 16:49:19 +0600 Subject: [PATCH 5/5] chore: update actions version and add continue-on-error --- .github/workflows/deploy.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 883be3c..88d6b94 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -19,8 +19,10 @@ env: jobs: build-php: + continue-on-error: true runs-on: ubuntu-latest strategy: + #fail-fast: false matrix: php_version: ['7.4', '8.0', '8.1', '8.2', '8.3', '8.4'] steps: @@ -34,7 +36,7 @@ jobs: uses: docker/setup-buildx-action@v3 - name: Build PHP Docker image - uses: docker/build-push-action@v6 + uses: docker/build-push-action@v5 with: file: php/Dockerfile context: php @@ -61,7 +63,7 @@ jobs: - name: Push PHP Docker image if: success() - uses: docker/build-push-action@v6 + uses: docker/build-push-action@v5 with: file: php/Dockerfile context: php @@ -100,7 +102,7 @@ jobs: uses: docker/setup-buildx-action@v3 - name: Build OpenLiteSpeed Docker image - uses: docker/build-push-action@v6 + uses: docker/build-push-action@v5 with: file: openlitespeed/Dockerfile context: openlitespeed @@ -128,7 +130,7 @@ jobs: - name: Push OpenLiteSpeed Docker image if: success() - uses: docker/build-push-action@v6 + uses: docker/build-push-action@v5 with: file: openlitespeed/Dockerfile context: openlitespeed