mirror of
https://github.com/EdyTheCow/docker-whmcs.git
synced 2026-04-02 02:38:13 +00:00
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
32 lines
813 B
YAML
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 }} |