|
5 | 5 |
|
6 | 6 | jobs: |
7 | 7 | build: |
8 | | - runs-on: ubuntu-latest |
9 | | - continue-on-error: true |
10 | 8 | strategy: |
| 9 | + fail-fast: false |
11 | 10 | matrix: |
12 | 11 | build: |
13 | 12 | - { php_version: "8.4", php_version_latest: "true", distro: "alpine", distro_variant: "3.23", latest: "true", distro_latest: "true", arch: "linux/amd64,linux/arm64" } |
14 | | - - { php_version: "8.3", php_version_latest: "true", distro: "alpine", distro_variant: "3.23", latest: "false", distro_latest: false, arch: "linux/amd64,linux/arm64" } |
15 | | - env: |
16 | | - BASE_IMAGE: "ghcr.io/nfrastack/container-nginx-php-fpm" |
17 | | - PHP_BASE: ${{ matrix.build.php_version }} |
18 | | - DISTRO: ${{ matrix.build.distro }} |
19 | | - DISTRO_VARIANT: ${{ matrix.build.distro_variant }} |
20 | | - LATEST: ${{ matrix.build.latest || 'true' }} |
21 | | - DISTRO_LATEST: ${{ matrix.build.distro_latest || 'false' }} |
22 | | - PHP_VERSION_LATEST: ${{ matrix.build.php_version_latest || 'false' }} |
23 | | - ARCH: ${{ matrix.build.arch || 'linux/amd64,linux/arm64' }} |
24 | | - TAG_VARIANTS: "simple" |
25 | | - steps: |
26 | | - - name: Build Image |
27 | | - uses: nfrastack/gha/.github/actions/build_phpfpm_dependent_multi_image@main |
28 | | - with: |
29 | | - docker_username: ${{ secrets.DOCKER_USERNAME }} |
30 | | - docker_password: ${{ secrets.DOCKER_PASSWORD }} |
31 | | - github_token: ${{ secrets.GITHUB_TOKEN }} |
| 13 | + - { php_version: "8.3", php_version_latest: "true", distro: "alpine", distro_variant: "3.23", latest: "false", distro_latest: "true", arch: "linux/amd64,linux/arm64" } |
| 14 | + uses: nfrastack/gha/.github/workflows/container-build_generic.yml@main |
| 15 | + with: |
| 16 | + base_image: "ghcr.io/nfrastack/container-nginx-php-fpm" |
| 17 | + php_version: ${{ matrix.build.php_version }} |
| 18 | + php_version_latest: ${{ matrix.build.php_version_latest }} |
| 19 | + distro: ${{ matrix.build.distro }} |
| 20 | + distro_variant: ${{ matrix.build.distro_variant }} |
| 21 | + latest: ${{ matrix.build.latest || 'false' }} |
| 22 | + distro_latest: ${{ matrix.build.distro_latest || 'false' }} |
| 23 | + platforms: ${{ matrix.build.arch || 'linux/amd64,linux/arm64' }} |
| 24 | + base_image_version: ${{ matrix.build.base_image_version || '' }} |
| 25 | + secrets: inherit |
0 commit comments