Updated php5 action workflows
Build and push PHP 5 container images / Build PHP 5 container images (map[additional_tags: mode:debug os:alpine os_version:3.6 php_ver_short:5 php_version:5.6 with_database:false with_server:apache]) (push) Successful in 1m33s
Details
Build and push PHP 5 container images / Build PHP 5 container images (map[additional_tags: mode:debug os:alpine os_version:3.6 php_ver_short:5 php_version:5.6 with_database:mysql with_server:apache]) (push) Successful in 1m22s
Details
Build and push PHP 5 container images / Build PHP 5 container images (map[additional_tags: mode:debug os:alpine os_version:3.6 php_ver_short:5 php_version:5.6 with_database:postgresql with_server:apache]) (push) Successful in 1m19s
Details
Build and push PHP 5 container images / Build PHP 5 container images (map[additional_tags:quay.io/sindigilive/php:5-cli-alpine
mode:cli os:alpine os_version:3.6 php_ver_short:5 php_version:5.6 with_database:false with_server:false]) (push) Failing after 0s
Details
Build and push PHP 5 container images / Build PHP 5 container images (map[additional_tags:quay.io/sindigilive/php:5-debug-alpine
mode:debug os:alpine os_version:3.6 php_ver_short:5 php_version:5.6 with_database:false with_server:false]) (push) Failing after 0s
Details
Build and push PHP 5 container images / Build PHP 5 container images (map[additional_tags:quay.io/sindigilive/php:5.6-alpine
quay.io/sindigilive/php:5-alpine
mode:full os:alpine os_version:3.6 php_ver_short:5 php_version:5.6 with_database:false with_server:false]) (push) Failing after 0s
Details
Build and push PHP 5 container images / Build PHP 5 container images (map[additional_tags:quay.io/sindigilive/php:5.6-apache-alpine
quay.io/sindigilive/php:5-apache-alpine
mode:full os:alpine os_version:3.6 php_ver_short:5 php_version:5.6 with_database:false with_server:apache]) (push) Failing after 0s
Details
Build and push PHP 5 container images / Build PHP 5 container images (map[additional_tags:quay.io/sindigilive/php:5.6-apache-mysql-alpine
quay.io/sindigilive/php:5-apache-mysql-alpine
mode:full os:alpine os_version:3.6 php_ver_short:5 php_version:5.6 with_database:mysql with_server:apache]) (push) Failing after 0s
Details
Build and push PHP 5 container images / Build PHP 5 container images (map[additional_tags:quay.io/sindigilive/php:5.6-apache-postgresql-alpine
quay.io/sindigilive/php:5-apache-postgresql-alpine
mode:full os:alpine os_version:3.6 php_ver_short:5 php_version:5.6 with_database:postgresql with_… (push) Failing after 0s
Details
Build and push PHP 5 container images / Build PHP 5 container images (map[additional_tags: mode:debug os:alpine os_version:3.6 php_ver_short:5 php_version:5.6 with_database:false with_server:apache]) (push) Successful in 1m33s
Details
Build and push PHP 5 container images / Build PHP 5 container images (map[additional_tags: mode:debug os:alpine os_version:3.6 php_ver_short:5 php_version:5.6 with_database:mysql with_server:apache]) (push) Successful in 1m22s
Details
Build and push PHP 5 container images / Build PHP 5 container images (map[additional_tags: mode:debug os:alpine os_version:3.6 php_ver_short:5 php_version:5.6 with_database:postgresql with_server:apache]) (push) Successful in 1m19s
Details
Build and push PHP 5 container images / Build PHP 5 container images (map[additional_tags:quay.io/sindigilive/php:5-cli-alpine
mode:cli os:alpine os_version:3.6 php_ver_short:5 php_version:5.6 with_database:false with_server:false]) (push) Failing after 0s
Details
Build and push PHP 5 container images / Build PHP 5 container images (map[additional_tags:quay.io/sindigilive/php:5-debug-alpine
mode:debug os:alpine os_version:3.6 php_ver_short:5 php_version:5.6 with_database:false with_server:false]) (push) Failing after 0s
Details
Build and push PHP 5 container images / Build PHP 5 container images (map[additional_tags:quay.io/sindigilive/php:5.6-alpine
quay.io/sindigilive/php:5-alpine
mode:full os:alpine os_version:3.6 php_ver_short:5 php_version:5.6 with_database:false with_server:false]) (push) Failing after 0s
Details
Build and push PHP 5 container images / Build PHP 5 container images (map[additional_tags:quay.io/sindigilive/php:5.6-apache-alpine
quay.io/sindigilive/php:5-apache-alpine
mode:full os:alpine os_version:3.6 php_ver_short:5 php_version:5.6 with_database:false with_server:apache]) (push) Failing after 0s
Details
Build and push PHP 5 container images / Build PHP 5 container images (map[additional_tags:quay.io/sindigilive/php:5.6-apache-mysql-alpine
quay.io/sindigilive/php:5-apache-mysql-alpine
mode:full os:alpine os_version:3.6 php_ver_short:5 php_version:5.6 with_database:mysql with_server:apache]) (push) Failing after 0s
Details
Build and push PHP 5 container images / Build PHP 5 container images (map[additional_tags:quay.io/sindigilive/php:5.6-apache-postgresql-alpine
quay.io/sindigilive/php:5-apache-postgresql-alpine
mode:full os:alpine os_version:3.6 php_ver_short:5 php_version:5.6 with_database:postgresql with_… (push) Failing after 0s
Details
This commit is contained in:
parent
6dd42dc434
commit
cf9c2e6830
|
@ -13,14 +13,89 @@ jobs:
|
||||||
image: ghcr.io/catthehacker/ubuntu:act-latest
|
image: ghcr.io/catthehacker/ubuntu:act-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
server: ["blank", "apache"]
|
flavors:
|
||||||
database: ["blank", "mysql", "postgresql"]
|
|
||||||
flavors: ["cli", "full", "debug"]
|
|
||||||
version:
|
|
||||||
- os: "alpine"
|
- os: "alpine"
|
||||||
os_version: "3.6"
|
os_version: "3.6"
|
||||||
php_version: "5.6"
|
php_version: "5.6"
|
||||||
php_ver_short: "5"
|
php_ver_short: "5"
|
||||||
|
mode: cli
|
||||||
|
with_server: "false"
|
||||||
|
with_database: "false"
|
||||||
|
additional_tags: |
|
||||||
|
quay.io/sindigilive/php:5-cli-alpine
|
||||||
|
- os: "alpine"
|
||||||
|
os_version: "3.6"
|
||||||
|
php_version: "5.6"
|
||||||
|
php_ver_short: "5"
|
||||||
|
mode: full
|
||||||
|
with_server: "false"
|
||||||
|
with_database: "false"
|
||||||
|
additional_tags: |
|
||||||
|
quay.io/sindigilive/php:5.6-alpine
|
||||||
|
quay.io/sindigilive/php:5-alpine
|
||||||
|
- os: "alpine"
|
||||||
|
os_version: "3.6"
|
||||||
|
php_version: "5.6"
|
||||||
|
php_ver_short: "5"
|
||||||
|
mode: debug
|
||||||
|
with_server: "false"
|
||||||
|
with_database: "false"
|
||||||
|
additional_tags: |
|
||||||
|
quay.io/sindigilive/php:5-debug-alpine
|
||||||
|
- os: "alpine"
|
||||||
|
os_version: "3.6"
|
||||||
|
php_version: "5.6"
|
||||||
|
php_ver_short: "5"
|
||||||
|
mode: full
|
||||||
|
with_server: "apache"
|
||||||
|
with_database: "false"
|
||||||
|
additional_tags: |
|
||||||
|
quay.io/sindigilive/php:5.6-apache-alpine
|
||||||
|
quay.io/sindigilive/php:5-apache-alpine
|
||||||
|
- os: "alpine"
|
||||||
|
os_version: "3.6"
|
||||||
|
php_version: "5.6"
|
||||||
|
php_ver_short: "5"
|
||||||
|
mode: full
|
||||||
|
with_server: "apache"
|
||||||
|
with_database: "mysql"
|
||||||
|
additional_tags: |
|
||||||
|
quay.io/sindigilive/php:5.6-apache-mysql-alpine
|
||||||
|
quay.io/sindigilive/php:5-apache-mysql-alpine
|
||||||
|
- os: "alpine"
|
||||||
|
os_version: "3.6"
|
||||||
|
php_version: "5.6"
|
||||||
|
php_ver_short: "5"
|
||||||
|
mode: full
|
||||||
|
with_server: "apache"
|
||||||
|
with_database: "postgresql"
|
||||||
|
additional_tags: |
|
||||||
|
quay.io/sindigilive/php:5.6-apache-postgresql-alpine
|
||||||
|
quay.io/sindigilive/php:5-apache-postgresql-alpine
|
||||||
|
- os: "alpine"
|
||||||
|
os_version: "3.6"
|
||||||
|
php_version: "5.6"
|
||||||
|
php_ver_short: "5"
|
||||||
|
mode: debug
|
||||||
|
with_server: "apache"
|
||||||
|
with_database: "false"
|
||||||
|
additional_tags: ""
|
||||||
|
- os: "alpine"
|
||||||
|
os_version: "3.6"
|
||||||
|
php_version: "5.6"
|
||||||
|
php_ver_short: "5"
|
||||||
|
mode: debug
|
||||||
|
with_server: "apache"
|
||||||
|
with_database: "mysql"
|
||||||
|
additional_tags: ""
|
||||||
|
- os: "alpine"
|
||||||
|
os_version: "3.6"
|
||||||
|
php_version: "5.6"
|
||||||
|
php_ver_short: "5"
|
||||||
|
mode: debug
|
||||||
|
with_server: "apache"
|
||||||
|
with_database: "postgresql"
|
||||||
|
additional_tags: ""
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository code
|
- name: Check out repository code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
@ -34,51 +109,54 @@ jobs:
|
||||||
# uses: docker/setup-qemu-action@v3
|
# uses: docker/setup-qemu-action@v3
|
||||||
- name: Setup Docker buildx
|
- name: Setup Docker buildx
|
||||||
uses: docker/setup-buildx-action@v3
|
uses: docker/setup-buildx-action@v3
|
||||||
- if: ${{ matrix.server == 'blank' && matrix.database == 'blank' }}
|
- if: ${{ matrix.flavors.with_server == 'false' && matrix.flavors.with_database == 'false' }}
|
||||||
name: Build and push php5
|
name: Build and push php5
|
||||||
uses: docker/build-push-action@v5
|
uses: docker/build-push-action@v5
|
||||||
with:
|
with:
|
||||||
push: true
|
push: true
|
||||||
context: .
|
context: .
|
||||||
file: 5/Dockerfile.${{ matrix.version.os }}
|
file: 5/Dockerfile.${{ matrix.flavors.os }}
|
||||||
build-args: |
|
build-args: |
|
||||||
OS_VERSION=${{ matrix.version.os_version }}
|
OS_VERSION=${{ matrix.flavors.os_version }}
|
||||||
FLAVOR=${{ matrix.flavors }}
|
FLAVOR=${{ matrix.flavors.mode }}
|
||||||
PHP_VERSION=${{ matrix.version.php_version }}
|
PHP_VERSION=${{ matrix.flavors.php_version }}
|
||||||
PHP_VER_SHORT=${{ matrix.version.php_ver_short }}
|
PHP_VER_SHORT=${{ matrix.flavors.php_ver_short }}
|
||||||
tags: |
|
tags: |
|
||||||
quay.io/sindigilive/php:${{ matrix.version.php_version }}-${{ matrix.flavors }}-${{ matrix.version.os }}
|
quay.io/sindigilive/php:${{ matrix.flavors.php_version }}-${{ matrix.flavors.mode }}-${{ matrix.flavors.os }}
|
||||||
- if: ${{ matrix.server == 'apache' && matrix.database == 'blank' }}
|
${{ matrix.flavors.additional_tags }}
|
||||||
name: Build and push php5 with apache2
|
- if: ${{ matrix.flavors.with_server != 'false' && matrix.flavors.with_database == 'false' }}
|
||||||
|
name: Build and push php5 with webserver
|
||||||
uses: docker/build-push-action@v5
|
uses: docker/build-push-action@v5
|
||||||
with:
|
with:
|
||||||
push: true
|
push: true
|
||||||
context: .
|
context: .
|
||||||
file: 5/Dockerfile.${{ matrix.server }}-${{ matrix.version.os }}
|
file: 5/Dockerfile.${{ matrix.flavors.with_server }}-${{ matrix.flavors.os }}
|
||||||
build-args: |
|
build-args: |
|
||||||
OS_VERSION=${{ matrix.version.os_version }}
|
OS_VERSION=${{ matrix.flavors.os_version }}
|
||||||
FLAVOR=${{ matrix.flavors }}
|
FLAVOR=${{ matrix.flavors.mode }}
|
||||||
PHP_VERSION=${{ matrix.version.php_version }}
|
PHP_VERSION=${{ matrix.flavors.php_version }}
|
||||||
PHP_VER_SHORT=${{ matrix.version.php_ver_short }}
|
PHP_VER_SHORT=${{ matrix.flavors.php_ver_short }}
|
||||||
WITH_APACHE=true
|
WITH_APACHE=true
|
||||||
tags: |
|
tags: |
|
||||||
quay.io/sindigilive/php:${{ matrix.version.php_version }}-${{ matrix.flavors }}-${{ matrix.server }}-${{ matrix.version.os }}
|
quay.io/sindigilive/php:${{ matrix.flavors.php_version }}-${{ matrix.flavors.mode }}-${{ matrix.flavors.with_server }}-${{ matrix.flavors.os }}
|
||||||
- if: ${{ matrix.server == 'apache' && matrix.database != 'blank' && matrix.flavors != 'cli' }}
|
${{ matrix.flavors.additional_tags }}
|
||||||
|
- if: ${{ matrix.flavors.with_server != 'false' && matrix.flavors.with_database != 'false' }}
|
||||||
name: Build and push php5 with apache2 and database connector library
|
name: Build and push php5 with apache2 and database connector library
|
||||||
uses: docker/build-push-action@v5
|
uses: docker/build-push-action@v5
|
||||||
with:
|
with:
|
||||||
push: true
|
push: true
|
||||||
context: .
|
context: .
|
||||||
file: 5/Dockerfile.${{ matrix.server }}-${{ matrix.version.os }}
|
file: 5/Dockerfile.${{ matrix.flavors.with_server }}-${{ matrix.flavors.os }}
|
||||||
build-args: |
|
build-args: |
|
||||||
OS_VERSION=${{ matrix.version.os_version }}
|
OS_VERSION=${{ matrix.flavors.os_version }}
|
||||||
FLAVOR=${{ matrix.flavors }}
|
FLAVOR=${{ matrix.flavors.mode }}
|
||||||
PHP_VERSION=${{ matrix.version.php_version }}
|
PHP_VERSION=${{ matrix.flavors.php_version }}
|
||||||
PHP_VER_SHORT=${{ matrix.version.php_ver_short }}
|
PHP_VER_SHORT=${{ matrix.flavors.php_ver_short }}
|
||||||
WITH_APACHE=true
|
WITH_APACHE=true
|
||||||
WITH_DATABASE=${{ matrix.database }}
|
WITH_DATABASE=${{ matrix.flavors.with_database }}
|
||||||
tags: |
|
tags: |
|
||||||
quay.io/sindigilive/php:${{ matrix.version.php_version }}-${{ matrix.flavors }}-${{ matrix.server }}-${{ matrix.database }}-${{ matrix.version.os }}
|
quay.io/sindigilive/php:${{ matrix.flavors.php_version }}-${{ matrix.flavors.mode }}-${{ matrix.flavors.with_server }}-${{ matrix.flavors.with_database }}-${{ matrix.flavors.os }}
|
||||||
|
${{ matrix.flavors.additional_tags }}
|
||||||
# build-latest:
|
# build-latest:
|
||||||
# name: Build latest nginx alpine based container images
|
# name: Build latest nginx alpine based container images
|
||||||
# runs-on: ubuntu-latest
|
# runs-on: ubuntu-latest
|
||||||
|
|
Loading…
Reference in New Issue