Files
docker-whmcs/.github/workflows/build-whmcs-php-fpm.yml
EdyTheCow 1a5f21267f
Some checks failed
Build WHMCS PHP-FPM / build (7.2) (push) Has been cancelled
Build WHMCS PHP-FPM / build (7.3) (push) Has been cancelled
Build WHMCS PHP-FPM / build (7.4) (push) Has been cancelled
Build WHMCS PHP-FPM / build (8.1) (push) Has been cancelled
Build WHMCS PHP-FPM / build (8.2) (push) Has been cancelled
Build WHMCS PHP-FPM / build (true, 8.3) (push) Has been cancelled
Build more PHP versions
2025-10-26 16:36:56 +01:00

32 lines
813 B
YAML

name: Build WHMCS PHP-FPM
on:
push:
branches: [ docker-images ]
paths:
- 'whmcs-php-fpm/**'
pull_request:
paths:
- 'whmcs-php-fpm/**'
jobs:
build:
strategy:
fail-fast: false
matrix:
php: [ "7.2", "7.3", "7.4", "8.1", "8.2", "8.3" ]
include:
# Mark the "latest" for 8.3
- php: "8.3"
latest: true
uses: ./.github/workflows/build-image-common.yml
with:
context: whmcs-php-fpm
# Always tag with php-<version> and tag latest for 8.3
image_tag: |
ghcr.io/edythecow/whmcs-php-fpm:php-${{ matrix.php }}
${{ matrix.latest && 'ghcr.io/edythecow/whmcs-php-fpm:latest' || '' }}
cache_scope: whmcs-php-fpm-${{ matrix.php }}
build_args: |
PHP_VERSION=${{ matrix.php }}