Updated action workflows
Build and push PHP container images / Build php cli with composer (map[composer_version:2.8.9 latest:true os:almalinux os_version:9.5 php_major:true php_release:8 php_version:8.4]) (push) Successful in 3m11s Details
Build and push PHP container images / Build php cli with composer (map[composer_version:2.8.9 latest:true os:alpine os_label:true os_version:3.21 php_major:true php_release:8 php_short_version:84 php_version:8.4]) (push) Successful in 1m34s Details

This commit is contained in:
Muhamad Aditya Prima 2025-05-23 09:28:43 +07:00
parent aa52ec63f6
commit 6de9d22ec1
1 changed files with 29 additions and 2 deletions

View File

@ -21,6 +21,7 @@ jobs:
php_release: "8"
php_major: 'true'
composer_version: "2.8.9"
latest: 'true'
# - os: "almalinux"
# os_version: "8.10"
# php_version: "7.2"
@ -101,7 +102,7 @@ jobs:
tags: |
quay.io/teras/php:${{ matrix.params.php_version }}-${{ matrix.params.os }}
- if: ${{ matrix.params.php_major == 'true' && matrix.params.os_label != 'true' }}
name: Build and push php release
name: Build and push php major release
uses: docker/build-push-action@v5
with:
push: true
@ -114,7 +115,7 @@ jobs:
tags: |
quay.io/teras/php:${{ matrix.params.php_release }}
- if: ${{ matrix.params.php_major == 'true' && matrix.params.os_label == 'true' }}
name: Build and push php release
name: Build and push php major release
uses: docker/build-push-action@v5
with:
push: true
@ -126,3 +127,29 @@ jobs:
COMPOSER_VERSION=${{ matrix.params.composer_version }}
tags: |
quay.io/teras/php:${{ matrix.params.php_release }}-${{ matrix.params.os }}
- if: ${{ matrix.params.latest == 'true' && matrix.params.os_label != 'true' }}
name: Build and push latest release
uses: docker/build-push-action@v5
with:
push: true
context: .
file: ${{ matrix.params.php_release }}/Dockerfile.${{ matrix.params.os }}
build-args: |
OS_VERSION=${{ matrix.params.os_version }}
PHP_VERSION=${{ matrix.params.php_version }}
COMPOSER_VERSION=${{ matrix.params.composer_version }}
tags: |
quay.io/teras/php:latest
- if: ${{ matrix.params.latest == 'true' && matrix.params.os_label == 'true' }}
name: Build and push latest release
uses: docker/build-push-action@v5
with:
push: true
context: .
file: ${{ matrix.params.php_release }}/Dockerfile.${{ matrix.params.os }}
build-args: |
OS_VERSION=${{ matrix.params.os_version }}
PHP_VERSION=${{ matrix.params.php_version }}
COMPOSER_VERSION=${{ matrix.params.composer_version }}
tags: |
quay.io/teras/php:latest-${{ matrix.params.os }}