Skip to content

Commit

Permalink
chore(images): refactor image builds
Browse files Browse the repository at this point in the history
  • Loading branch information
janosmiko committed Mar 31, 2024
1 parent 2e2bd48 commit bd4783b
Show file tree
Hide file tree
Showing 15 changed files with 22 additions and 22 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main-docker-image-php-cli-loaders.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
php-cli-loaders:
name: php/cli-loaders
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'push' }}
if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'push' || github.event_name == 'workflow_dispatch' }}
strategy:
matrix:
BASE_IMAGE_NAME: [ "debian", "ubuntu" ]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main-docker-image-php-fpm-base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
php-fpm-base:
name: php-fpm-base
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'push' }}
if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'push' || github.event_name == 'workflow_dispatch' }}
strategy:
matrix:
BASE_IMAGE_NAME: [ "debian", "ubuntu" ]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main-docker-image-php-fpm-blackfire.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
blackfire:
name: php-fpm-blackfire
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'push' }}
if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'push' || github.event_name == 'workflow_dispatch' }}
strategy:
matrix:
BASE_IMAGE_NAME: [ "debian", "ubuntu" ]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main-docker-image-php-fpm-loaders.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
php-fpm-loaders:
name: php/fpm-loaders
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'push' }}
if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'push' || github.event_name == 'workflow_dispatch' }}
strategy:
matrix:
BASE_IMAGE_NAME: [ "debian", "ubuntu" ]
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/main-docker-image-php-fpm-magento1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
php-fpm-magento1:
name: php-fpm/magento1
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'push' }}
if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'push' || github.event_name == 'workflow_dispatch' }}
strategy:
matrix:
BASE_IMAGE_NAME: [ "debian", "ubuntu" ]
Expand Down Expand Up @@ -121,7 +121,7 @@ jobs:
magento1-apps:
name: magento 1 - apps
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'push' }}
if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'push' || github.event_name == 'workflow_dispatch' }}
needs:
- php-fpm-magento1
strategy:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/main-docker-image-php-fpm-magento2-web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
php-fpm-magento2-web:
name: php-fpm/magento2-web
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'push' }}
if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'push' || github.event_name == 'workflow_dispatch' }}
strategy:
matrix:
BASE_IMAGE_NAME: [ "debian", "ubuntu" ]
Expand Down Expand Up @@ -121,7 +121,7 @@ jobs:
magento2-web-apps:
name: magento 2 - apps
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'push' }}
if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'push' || github.event_name == 'workflow_dispatch' }}
needs:
- php-fpm-magento2-web
strategy:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/main-docker-image-php-fpm-magento2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
php-fpm-magento2:
name: php-fpm/magento2
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'push' }}
if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'push' || github.event_name == 'workflow_dispatch' }}
strategy:
matrix:
BASE_IMAGE_NAME: [ "debian", "ubuntu" ]
Expand Down Expand Up @@ -121,7 +121,7 @@ jobs:
magento2-apps:
name: magento 2 - apps
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'push' }}
if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'push' || github.event_name == 'workflow_dispatch' }}
needs:
- php-fpm-magento2
strategy:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/main-docker-image-php-fpm-shopware-web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
php-fpm-shopware-web:
name: php-fpm/shopware-web
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'push' }}
if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'push' || github.event_name == 'workflow_dispatch' }}
strategy:
matrix:
BASE_IMAGE_NAME: [ "debian", "ubuntu" ]
Expand Down Expand Up @@ -121,7 +121,7 @@ jobs:
shopware-web-apps:
name: magento 2 - apps
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'push' }}
if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'push' || github.event_name == 'workflow_dispatch' }}
needs:
- php-fpm-shopware-web
strategy:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/main-docker-image-php-fpm-shopware.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
php-fpm-shopware:
name: php-fpm/shopware
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'push' }}
if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'push' || github.event_name == 'workflow_dispatch' }}
strategy:
matrix:
BASE_IMAGE_NAME: [ "debian", "ubuntu" ]
Expand Down Expand Up @@ -121,7 +121,7 @@ jobs:
shopware-apps:
name: shopware - apps
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'push' }}
if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'push' || github.event_name == 'workflow_dispatch' }}
needs:
- php-fpm-shopware
strategy:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main-docker-image-php-fpm-spx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
spx:
name: php-fpm-spx
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'push' }}
if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'push' || github.event_name == 'workflow_dispatch' }}
strategy:
matrix:
BASE_IMAGE_NAME: [ "debian", "ubuntu" ]
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/main-docker-image-php-fpm-wordpress-web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
php-fpm-wordpress-web:
name: php-fpm/wordpress-web
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'push' }}
if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'push' || github.event_name == 'workflow_dispatch' }}
strategy:
matrix:
BASE_IMAGE_NAME: [ "debian", "ubuntu" ]
Expand Down Expand Up @@ -121,7 +121,7 @@ jobs:
wordpress-web-apps:
name: magento 2 - apps
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'push' }}
if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'push' || github.event_name == 'workflow_dispatch' }}
needs:
- php-fpm-wordpress-web
strategy:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/main-docker-image-php-fpm-wordpress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
php-fpm-wordpress:
name: php-fpm/wordpress
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'push' }}
if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'push' || github.event_name == 'workflow_dispatch' }}
strategy:
matrix:
BASE_IMAGE_NAME: [ "debian", "ubuntu" ]
Expand Down Expand Up @@ -121,7 +121,7 @@ jobs:
wordpress-apps:
name: wordpress - apps
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'push' }}
if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'push' || github.event_name == 'workflow_dispatch' }}
needs:
- php-fpm-wordpress
strategy:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main-docker-image-php-fpm-xdebug2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
xdebug2:
name: php-fpm-xdebug2
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'push' }}
if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'push' || github.event_name == 'workflow_dispatch' }}
strategy:
matrix:
BASE_IMAGE_NAME: [ "debian", "ubuntu" ]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main-docker-image-php-fpm-xdebug3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
xdebug3:
name: php-fpm-xdebug3
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'push' }}
if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'push' || github.event_name == 'workflow_dispatch' }}
strategy:
matrix:
BASE_IMAGE_NAME: [ "debian", "ubuntu" ]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main-docker-image-php-fpm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
php-fpm:
name: php/fpm
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'push' }}
if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'push' || github.event_name == 'workflow_dispatch' }}
strategy:
matrix:
BASE_IMAGE_NAME: [ "debian", "ubuntu" ]
Expand Down

0 comments on commit bd4783b

Please sign in to comment.