Skip to content

[PIMINT-171] Add missing dependency #11

[PIMINT-171] Add missing dependency

[PIMINT-171] Add missing dependency #11

name: 'Build and push images'
on:
push:
branches:
- main
- gh-build
# Rebuild every other day
schedule:
- cron: '0 0 */2 * *'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build-and-push-php:
name: Build and push PHP
strategy:
matrix:
php_version:
- 8.1
- 8.2
- 8.3
php_image:
- cli
- fpm
uses: ./.github/workflows/build-and-push-image.yaml
with:
image_identifier: "php-${{ matrix.php_image }}-${{ matrix.php_version }}"
image_registry: ghcr.io
image_url_path: basecom/pimcore-docker-image
image_name: php
image_tag: ${{ matrix.php_version }}-${{ matrix.php_image }}-pimcore
image_directory: dist/images/php/${{ matrix.php_version }}-${{ matrix.php_image }}-pimcore
clean:
name: Cleanup registry
needs:
- build-and-push-php
uses: ./.github/workflows/docker-registry-cleanup.yaml
with:
image_registry: ghcr.io
image_url_path: basecom/pimcore-docker-image