PHP Chain • Docker Build #19
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow | |
--- | |
name: "PHP Chain • Docker Build" | |
on: | |
schedule: | |
- cron: "0 3 * * 6" | |
workflow_dispatch: | |
push: | |
paths: | |
- images/.trigger | |
- images/php/.trigger | |
branches: | |
- main | |
- feature/revamp-php-build | |
env: | |
WAIT_FOR_COMPLETION_TIMEOUT: 3h | |
jobs: | |
php-cli: | |
runs-on: ubuntu-latest | |
steps: | |
- name: "PHP/CLI • Docker Build" | |
uses: the-actions-org/workflow-dispatch@v4 | |
with: | |
workflow: docker-build-php-cli.yml | |
token: ${{ secrets.PERSONAL_TOKEN }} | |
wait-for-completion-timeout: ${{ env.WAIT_FOR_COMPLETION_TIMEOUT }} | |
php-cli-loaders: | |
runs-on: ubuntu-latest | |
needs: [php-cli] | |
steps: | |
- name: "PHP/CLI-Loaders • Docker Build" | |
uses: the-actions-org/workflow-dispatch@v4 | |
with: | |
workflow: docker-build-php-cli-loaders.yml | |
token: ${{ secrets.PERSONAL_TOKEN }} | |
wait-for-completion-timeout: ${{ env.WAIT_FOR_COMPLETION_TIMEOUT }} | |
php-fpm: | |
runs-on: ubuntu-latest | |
needs: [php-cli] | |
steps: | |
- name: "PHP/FPM • Docker Build" | |
uses: the-actions-org/workflow-dispatch@v4 | |
with: | |
workflow: docker-build-php-fpm.yml | |
token: ${{ secrets.PERSONAL_TOKEN }} | |
wait-for-completion-timeout: ${{ env.WAIT_FOR_COMPLETION_TIMEOUT }} | |
php-fpm-loaders: | |
runs-on: ubuntu-latest | |
needs: [php-fpm] | |
steps: | |
- name: "PHP/FPM-Loaders • Docker Build" | |
uses: the-actions-org/workflow-dispatch@v4 | |
with: | |
workflow: docker-build-php-fpm-loaders.yml | |
token: ${{ secrets.PERSONAL_TOKEN }} | |
wait-for-completion-timeout: ${{ env.WAIT_FOR_COMPLETION_TIMEOUT }} | |
phase1: | |
runs-on: ubuntu-latest | |
needs: | |
- php-cli | |
- php-cli-loaders | |
- php-fpm | |
- php-fpm-loaders | |
steps: | |
- run: 'true' | |
php-fpm-rootless-base: | |
runs-on: ubuntu-latest | |
needs: [phase1] | |
steps: | |
- name: "PHP-FPM Rootless Base • Docker Build" | |
uses: the-actions-org/workflow-dispatch@v4 | |
with: | |
workflow: docker-build-php-fpm-rootless-base.yml | |
token: ${{ secrets.PERSONAL_TOKEN }} | |
wait-for-completion-timeout: ${{ env.WAIT_FOR_COMPLETION_TIMEOUT }} | |
php-fpm-rootless-magento1: | |
runs-on: ubuntu-latest | |
needs: [php-fpm-rootless-base] | |
steps: | |
- name: "PHP-FPM Rootless Magento 1 • Docker Build" | |
uses: the-actions-org/workflow-dispatch@v4 | |
with: | |
workflow: docker-build-php-fpm-rootless-magento1.yml | |
token: ${{ secrets.PERSONAL_TOKEN }} | |
wait-for-completion-timeout: ${{ env.WAIT_FOR_COMPLETION_TIMEOUT }} | |
php-fpm-rootless-magento2: | |
runs-on: ubuntu-latest | |
needs: [php-fpm-rootless-base] | |
steps: | |
- name: "PHP-FPM Rootless Magento 2 • Docker Build" | |
uses: the-actions-org/workflow-dispatch@v4 | |
with: | |
workflow: docker-build-php-fpm-rootless-magento2.yml | |
token: ${{ secrets.PERSONAL_TOKEN }} | |
wait-for-completion-timeout: ${{ env.WAIT_FOR_COMPLETION_TIMEOUT }} | |
php-fpm-rootless-shopware: | |
runs-on: ubuntu-latest | |
needs: [php-fpm-rootless-base] | |
steps: | |
- name: "PHP-FPM Rootless Shopware • Docker Build" | |
uses: the-actions-org/workflow-dispatch@v4 | |
with: | |
workflow: docker-build-php-fpm-rootless-shopware.yml | |
token: ${{ secrets.PERSONAL_TOKEN }} | |
wait-for-completion-timeout: ${{ env.WAIT_FOR_COMPLETION_TIMEOUT }} | |
php-fpm-rootless-wordpress: | |
runs-on: ubuntu-latest | |
needs: [php-fpm-rootless-base] | |
steps: | |
- name: "PHP-FPM Rootless WordPress • Docker Build" | |
uses: the-actions-org/workflow-dispatch@v4 | |
with: | |
workflow: docker-build-php-fpm-rootless-wordpress.yml | |
token: ${{ secrets.PERSONAL_TOKEN }} | |
wait-for-completion-timeout: ${{ env.WAIT_FOR_COMPLETION_TIMEOUT }} | |
php-fpm-rootless-magento2-web: | |
runs-on: ubuntu-latest | |
needs: [php-fpm-rootless-magento2] | |
steps: | |
- name: "PHP-FPM Rootless Magento 2 Web • Docker Build" | |
uses: the-actions-org/workflow-dispatch@v4 | |
with: | |
workflow: docker-build-php-fpm-rootless-magento2-web.yml | |
token: ${{ secrets.PERSONAL_TOKEN }} | |
wait-for-completion-timeout: ${{ env.WAIT_FOR_COMPLETION_TIMEOUT }} | |
php-fpm-rootless-shopware-web: | |
runs-on: ubuntu-latest | |
needs: [php-fpm-rootless-shopware] | |
steps: | |
- name: "PHP-FPM Rootless Shopware Web • Docker Build" | |
uses: the-actions-org/workflow-dispatch@v4 | |
with: | |
workflow: docker-build-php-fpm-rootless-shopware-web.yml | |
token: ${{ secrets.PERSONAL_TOKEN }} | |
wait-for-completion-timeout: ${{ env.WAIT_FOR_COMPLETION_TIMEOUT }} | |
php-fpm-rootless-wordpress-web: | |
runs-on: ubuntu-latest | |
needs: [php-fpm-rootless-wordpress] | |
steps: | |
- name: "PHP-FPM Rootless WordPress Web • Docker Build" | |
uses: the-actions-org/workflow-dispatch@v4 | |
with: | |
workflow: docker-build-php-fpm-rootless-wordpress-web.yml | |
token: ${{ secrets.PERSONAL_TOKEN }} | |
wait-for-completion-timeout: ${{ env.WAIT_FOR_COMPLETION_TIMEOUT }} | |
phase2: | |
runs-on: ubuntu-latest | |
needs: | |
- php-fpm-rootless-base | |
- php-fpm-rootless-magento1 | |
- php-fpm-rootless-magento2 | |
- php-fpm-rootless-shopware | |
- php-fpm-rootless-wordpress | |
- php-fpm-rootless-magento2-web | |
- php-fpm-rootless-shopware-web | |
- php-fpm-rootless-wordpress-web | |
steps: | |
- run: 'true' | |
php-fpm-base: | |
runs-on: ubuntu-latest | |
needs: | |
- phase2 | |
steps: | |
- name: "PHP-FPM Base • Docker Build" | |
uses: the-actions-org/workflow-dispatch@v4 | |
with: | |
workflow: docker-build-php-fpm-base.yml | |
token: ${{ secrets.PERSONAL_TOKEN }} | |
wait-for-completion-timeout: ${{ env.WAIT_FOR_COMPLETION_TIMEOUT }} | |
php-fpm-magento1: | |
runs-on: ubuntu-latest | |
needs: [php-fpm-base] | |
steps: | |
- name: "PHP-FPM Magento 1 • Docker Build" | |
uses: the-actions-org/workflow-dispatch@v4 | |
with: | |
workflow: docker-build-php-fpm-magento1.yml | |
token: ${{ secrets.PERSONAL_TOKEN }} | |
wait-for-completion-timeout: ${{ env.WAIT_FOR_COMPLETION_TIMEOUT }} | |
php-fpm-magento2: | |
runs-on: ubuntu-latest | |
needs: [php-fpm-base] | |
steps: | |
- name: "PHP-FPM Magento 2 • Docker Build" | |
uses: the-actions-org/workflow-dispatch@v4 | |
with: | |
workflow: docker-build-php-fpm-magento2.yml | |
token: ${{ secrets.PERSONAL_TOKEN }} | |
wait-for-completion-timeout: ${{ env.WAIT_FOR_COMPLETION_TIMEOUT }} | |
php-fpm-shopware: | |
runs-on: ubuntu-latest | |
needs: [php-fpm-base] | |
steps: | |
- name: "PHP-FPM Shopware • Docker Build" | |
uses: the-actions-org/workflow-dispatch@v4 | |
with: | |
workflow: docker-build-php-fpm-shopware.yml | |
token: ${{ secrets.PERSONAL_TOKEN }} | |
wait-for-completion-timeout: ${{ env.WAIT_FOR_COMPLETION_TIMEOUT }} | |
php-fpm-wordpress: | |
runs-on: ubuntu-latest | |
needs: [php-fpm-base] | |
steps: | |
- name: "PHP-FPM WordPress • Docker Build" | |
uses: the-actions-org/workflow-dispatch@v4 | |
with: | |
workflow: docker-build-php-fpm-wordpress.yml | |
token: ${{ secrets.PERSONAL_TOKEN }} | |
wait-for-completion-timeout: ${{ env.WAIT_FOR_COMPLETION_TIMEOUT }} | |
php-fpm-magento2-web: | |
runs-on: ubuntu-latest | |
needs: [php-fpm-magento2] | |
steps: | |
- name: "PHP-FPM Magento 2 Web • Docker Build" | |
uses: the-actions-org/workflow-dispatch@v4 | |
with: | |
workflow: docker-build-php-fpm-magento2-web.yml | |
token: ${{ secrets.PERSONAL_TOKEN }} | |
wait-for-completion-timeout: ${{ env.WAIT_FOR_COMPLETION_TIMEOUT }} | |
php-fpm-shopware-web: | |
runs-on: ubuntu-latest | |
needs: [php-fpm-shopware] | |
steps: | |
- name: "PHP-FPM Shopware Web • Docker Build" | |
uses: the-actions-org/workflow-dispatch@v4 | |
with: | |
workflow: docker-build-php-fpm-shopware-web.yml | |
token: ${{ secrets.PERSONAL_TOKEN }} | |
wait-for-completion-timeout: ${{ env.WAIT_FOR_COMPLETION_TIMEOUT }} | |
php-fpm-wordpress-web: | |
runs-on: ubuntu-latest | |
needs: [php-fpm-wordpress] | |
steps: | |
- name: "PHP-FPM Shopware Web • Docker Build" | |
uses: the-actions-org/workflow-dispatch@v4 | |
with: | |
workflow: docker-build-php-fpm-wordpress-web.yml | |
token: ${{ secrets.PERSONAL_TOKEN }} | |
wait-for-completion-timeout: ${{ env.WAIT_FOR_COMPLETION_TIMEOUT }} | |
phase3: | |
runs-on: ubuntu-latest | |
needs: | |
- php-fpm-base | |
- php-fpm-magento1 | |
- php-fpm-magento2 | |
- php-fpm-shopware | |
- php-fpm-wordpress | |
- php-fpm-magento2-web | |
- php-fpm-shopware-web | |
- php-fpm-wordpress-web | |
steps: | |
- run: 'true' | |
###### | |
# UTILITIES | |
###### | |
php-fpm-rootless-blackfire: | |
runs-on: ubuntu-latest | |
needs: [ phase3 ] | |
steps: | |
- name: "PHP-FPM Rootless Blackfire • Docker Build" | |
uses: the-actions-org/workflow-dispatch@v4 | |
with: | |
workflow: docker-build-php-fpm-rootless-blackfire.yml | |
token: ${{ secrets.PERSONAL_TOKEN }} | |
wait-for-completion-timeout: ${{ env.WAIT_FOR_COMPLETION_TIMEOUT }} | |
php-fpm-rootless-spx: | |
runs-on: ubuntu-latest | |
needs: [ phase3 ] | |
steps: | |
- name: "PHP-FPM Rootless SPX • Docker Build" | |
uses: the-actions-org/workflow-dispatch@v4 | |
with: | |
workflow: docker-build-php-fpm-rootless-spx.yml | |
token: ${{ secrets.PERSONAL_TOKEN }} | |
wait-for-completion-timeout: ${{ env.WAIT_FOR_COMPLETION_TIMEOUT }} | |
php-fpm-rootless-xdebug2: | |
runs-on: ubuntu-latest | |
needs: [ phase3 ] | |
steps: | |
- name: "PHP-FPM Rootless Xdebug 2 • Docker Build" | |
uses: the-actions-org/workflow-dispatch@v4 | |
with: | |
workflow: docker-build-php-fpm-rootless-xdebug2.yml | |
token: ${{ secrets.PERSONAL_TOKEN }} | |
wait-for-completion-timeout: ${{ env.WAIT_FOR_COMPLETION_TIMEOUT }} | |
php-fpm-rootless-xdebug3: | |
runs-on: ubuntu-latest | |
needs: [ phase3 ] | |
steps: | |
- name: "PHP-FPM Rootless Xdebug 3 • Docker Build" | |
uses: the-actions-org/workflow-dispatch@v4 | |
with: | |
workflow: docker-build-php-fpm-rootless-xdebug3.yml | |
token: ${{ secrets.PERSONAL_TOKEN }} | |
wait-for-completion-timeout: ${{ env.WAIT_FOR_COMPLETION_TIMEOUT }} | |
phase4: | |
runs-on: ubuntu-latest | |
needs: | |
- php-fpm-rootless-blackfire | |
- php-fpm-rootless-spx | |
- php-fpm-rootless-xdebug2 | |
- php-fpm-rootless-xdebug3 | |
steps: | |
- run: 'true' | |
php-fpm-blackfire: | |
runs-on: ubuntu-latest | |
needs: [ phase4 ] | |
steps: | |
- name: "PHP-FPM Blackfire • Docker Build" | |
uses: the-actions-org/workflow-dispatch@v4 | |
with: | |
workflow: docker-build-php-fpm-blackfire.yml | |
token: ${{ secrets.PERSONAL_TOKEN }} | |
wait-for-completion-timeout: ${{ env.WAIT_FOR_COMPLETION_TIMEOUT }} | |
php-fpm-spx: | |
runs-on: ubuntu-latest | |
needs: [ phase4 ] | |
steps: | |
- name: "PHP-FPM SPX • Docker Build" | |
uses: the-actions-org/workflow-dispatch@v4 | |
with: | |
workflow: docker-build-php-fpm-spx.yml | |
token: ${{ secrets.PERSONAL_TOKEN }} | |
wait-for-completion-timeout: ${{ env.WAIT_FOR_COMPLETION_TIMEOUT }} | |
php-fpm-xdebug2: | |
runs-on: ubuntu-latest | |
needs: [ phase4 ] | |
steps: | |
- name: "PHP-FPM Xdebug 2 • Docker Build" | |
uses: the-actions-org/workflow-dispatch@v4 | |
with: | |
workflow: docker-build-php-fpm-xdebug2.yml | |
token: ${{ secrets.PERSONAL_TOKEN }} | |
wait-for-completion-timeout: ${{ env.WAIT_FOR_COMPLETION_TIMEOUT }} | |
php-fpm-xdebug3: | |
runs-on: ubuntu-latest | |
needs: [ phase4 ] | |
steps: | |
- name: "PHP-FPM Xdebug 3 • Docker Build" | |
uses: the-actions-org/workflow-dispatch@v4 | |
with: | |
workflow: docker-build-php-fpm-xdebug3.yml | |
token: ${{ secrets.PERSONAL_TOKEN }} | |
wait-for-completion-timeout: ${{ env.WAIT_FOR_COMPLETION_TIMEOUT }} | |
phase5: | |
runs-on: ubuntu-latest | |
needs: | |
- php-fpm-blackfire | |
- php-fpm-spx | |
- php-fpm-xdebug2 | |
- php-fpm-xdebug3 | |
steps: | |
- run: 'true' | |
php-fpm-rootless-magento1-apps: | |
runs-on: ubuntu-latest | |
needs: [ phase5 ] | |
steps: | |
- name: "PHP-FPM Rootless Magento 1 Apps • Docker Build" | |
uses: the-actions-org/workflow-dispatch@v4 | |
with: | |
workflow: docker-build-php-fpm-rootless-magento1-apps.yml | |
token: ${{ secrets.PERSONAL_TOKEN }} | |
wait-for-completion-timeout: ${{ env.WAIT_FOR_COMPLETION_TIMEOUT }} | |
php-fpm-rootless-magento2-apps: | |
runs-on: ubuntu-latest | |
needs: [ phase5 ] | |
steps: | |
- name: "PHP-FPM Rootless Magento 2 Apps • Docker Build" | |
uses: the-actions-org/workflow-dispatch@v4 | |
with: | |
workflow: docker-build-php-fpm-rootless-magento2-apps.yml | |
token: ${{ secrets.PERSONAL_TOKEN }} | |
wait-for-completion-timeout: ${{ env.WAIT_FOR_COMPLETION_TIMEOUT }} | |
php-fpm-rootless-shopware-apps: | |
runs-on: ubuntu-latest | |
needs: [ phase5 ] | |
steps: | |
- name: "PHP-FPM Rootless Shopware Apps • Docker Build" | |
uses: the-actions-org/workflow-dispatch@v4 | |
with: | |
workflow: docker-build-php-fpm-rootless-shopware-apps.yml | |
token: ${{ secrets.PERSONAL_TOKEN }} | |
wait-for-completion-timeout: ${{ env.WAIT_FOR_COMPLETION_TIMEOUT }} | |
php-fpm-rootless-wordpress-apps: | |
runs-on: ubuntu-latest | |
needs: [ phase5 ] | |
steps: | |
- name: "PHP-FPM Rootless WordPress Apps • Docker Build" | |
uses: the-actions-org/workflow-dispatch@v4 | |
with: | |
workflow: docker-build-php-fpm-rootless-wordpress-apps.yml | |
token: ${{ secrets.PERSONAL_TOKEN }} | |
wait-for-completion-timeout: ${{ env.WAIT_FOR_COMPLETION_TIMEOUT }} | |
php-fpm-rootless-magento2-web-apps: | |
runs-on: ubuntu-latest | |
needs: [ php-fpm-rootless-magento2-apps ] | |
steps: | |
- name: "PHP-FPM Rootless Magento 2 Web Apps • Docker Build" | |
uses: the-actions-org/workflow-dispatch@v4 | |
with: | |
workflow: docker-build-php-fpm-rootless-magento2-web-apps.yml | |
token: ${{ secrets.PERSONAL_TOKEN }} | |
wait-for-completion-timeout: ${{ env.WAIT_FOR_COMPLETION_TIMEOUT }} | |
php-fpm-rootless-shopware-web-apps: | |
runs-on: ubuntu-latest | |
needs: [ php-fpm-rootless-shopware-apps ] | |
steps: | |
- name: "PHP-FPM Rootless Shopware Web Apps • Docker Build" | |
uses: the-actions-org/workflow-dispatch@v4 | |
with: | |
workflow: docker-build-php-fpm-rootless-shopware-web-apps.yml | |
token: ${{ secrets.PERSONAL_TOKEN }} | |
wait-for-completion-timeout: ${{ env.WAIT_FOR_COMPLETION_TIMEOUT }} | |
php-fpm-rootless-wordpress-web-apps: | |
runs-on: ubuntu-latest | |
needs: [ php-fpm-rootless-wordpress-apps ] | |
steps: | |
- name: "PHP-FPM Rootless WordPress Web Apps • Docker Build" | |
uses: the-actions-org/workflow-dispatch@v4 | |
with: | |
workflow: docker-build-php-fpm-rootless-wordpress-web-apps.yml | |
token: ${{ secrets.PERSONAL_TOKEN }} | |
wait-for-completion-timeout: ${{ env.WAIT_FOR_COMPLETION_TIMEOUT }} | |
phase6: | |
runs-on: ubuntu-latest | |
needs: | |
- php-fpm-rootless-magento1-apps | |
- php-fpm-rootless-magento2-apps | |
- php-fpm-rootless-shopware-apps | |
- php-fpm-rootless-wordpress-apps | |
- php-fpm-rootless-magento2-web-apps | |
- php-fpm-rootless-shopware-web-apps | |
- php-fpm-rootless-wordpress-web-apps | |
steps: | |
- run: 'true' | |
php-fpm-magento1-apps: | |
runs-on: ubuntu-latest | |
needs: [ phase6 ] | |
steps: | |
- name: "PHP-FPM Magento 1 Apps • Docker Build" | |
uses: the-actions-org/workflow-dispatch@v4 | |
with: | |
workflow: docker-build-php-fpm-magento1-apps.yml | |
token: ${{ secrets.PERSONAL_TOKEN }} | |
wait-for-completion-timeout: ${{ env.WAIT_FOR_COMPLETION_TIMEOUT }} | |
php-fpm-magento2-apps: | |
runs-on: ubuntu-latest | |
needs: [ phase6 ] | |
steps: | |
- name: "PHP-FPM Magento 2 Apps • Docker Build" | |
uses: the-actions-org/workflow-dispatch@v4 | |
with: | |
workflow: docker-build-php-fpm-magento2-apps.yml | |
token: ${{ secrets.PERSONAL_TOKEN }} | |
wait-for-completion-timeout: ${{ env.WAIT_FOR_COMPLETION_TIMEOUT }} | |
php-fpm-shopware-apps: | |
runs-on: ubuntu-latest | |
needs: [ phase6 ] | |
steps: | |
- name: "PHP-FPM Shopware Apps • Docker Build" | |
uses: the-actions-org/workflow-dispatch@v4 | |
with: | |
workflow: docker-build-php-fpm-shopware-apps.yml | |
token: ${{ secrets.PERSONAL_TOKEN }} | |
wait-for-completion-timeout: ${{ env.WAIT_FOR_COMPLETION_TIMEOUT }} | |
php-fpm-wordpress-apps: | |
runs-on: ubuntu-latest | |
needs: [ phase6 ] | |
steps: | |
- name: "PHP-FPM WordPress Apps • Docker Build" | |
uses: the-actions-org/workflow-dispatch@v4 | |
with: | |
workflow: docker-build-php-fpm-wordpress-apps.yml | |
token: ${{ secrets.PERSONAL_TOKEN }} | |
wait-for-completion-timeout: ${{ env.WAIT_FOR_COMPLETION_TIMEOUT }} | |
php-fpm-magento2-web-apps: | |
runs-on: ubuntu-latest | |
needs: [ php-fpm-magento2-apps ] | |
steps: | |
- name: "PHP-FPM Magento 2 Web Apps • Docker Build" | |
uses: the-actions-org/workflow-dispatch@v4 | |
with: | |
workflow: docker-build-php-fpm-magento2-web-apps.yml | |
token: ${{ secrets.PERSONAL_TOKEN }} | |
wait-for-completion-timeout: ${{ env.WAIT_FOR_COMPLETION_TIMEOUT }} | |
php-fpm-shopware-web-apps: | |
runs-on: ubuntu-latest | |
needs: [ php-fpm-shopware-apps ] | |
steps: | |
- name: "PHP-FPM Shopware Web Apps • Docker Build" | |
uses: the-actions-org/workflow-dispatch@v4 | |
with: | |
workflow: docker-build-php-fpm-shopware-web-apps.yml | |
token: ${{ secrets.PERSONAL_TOKEN }} | |
wait-for-completion-timeout: ${{ env.WAIT_FOR_COMPLETION_TIMEOUT }} | |
php-fpm-wordpress-web-apps: | |
runs-on: ubuntu-latest | |
needs: [ php-fpm-wordpress-apps ] | |
steps: | |
- name: "PHP-FPM WordPress Web Apps • Docker Build" | |
uses: the-actions-org/workflow-dispatch@v4 | |
with: | |
workflow: docker-build-php-fpm-wordpress-web-apps.yml | |
token: ${{ secrets.PERSONAL_TOKEN }} | |
wait-for-completion-timeout: ${{ env.WAIT_FOR_COMPLETION_TIMEOUT }} |