Workflow file for this run
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
name: Build docker-dev images upon a new release | |
on: | |
release: | |
types: | |
- created | |
jobs: | |
build-apache-image: | |
name: Build Apache image | |
uses: ./.github/workflows/build-image.yml | |
with: | |
image: apache | |
context: ./apache | |
secrets: inherit | |
build-nginx-image: | |
name: Build Nginx image | |
uses: ./.github/workflows/build-image.yml | |
with: | |
image: nginx | |
context: ./nginx | |
secrets: inherit | |
build-mssql-images: | |
name: Build MSSQL images | |
strategy: | |
matrix: | |
version: [2017, 2019, 2022] | |
uses: ./.github/workflows/build-image.yml | |
with: | |
image: mssql${{ matrix.version }} | |
context: ./mssql | |
dockerfile: ${{ matrix.version }}/Dockerfile | |
multiarch: false # Mssql does not support multiple architectures | |
secrets: inherit | |
build-php-images: | |
name: Build PHP base images | |
strategy: | |
matrix: | |
version: [53, 54, 55, 56, 70, 71, 72, 73, 80, 81, 82, 83] | |
uses: ./.github/workflows/build-image.yml | |
with: | |
image: php${{ matrix.version }} | |
context: ./php/php${{ matrix.version }} | |
secrets: inherit | |
build-php-debug-images: | |
name: Build PHP debug images | |
needs: build-php-images | |
strategy: | |
matrix: | |
version: [53, 54, 55, 56, 70, 71, 72, 73, 80, 81, 82, 83] | |
uses: ./.github/workflows/build-image.yml | |
with: | |
image: php${{ matrix.version }}-debug | |
context: ./php/php${{ matrix.version }}-debug | |
secrets: inherit | |
build-php-cron-images: | |
name: Build PHP cron images | |
needs: build-php-images | |
strategy: | |
matrix: | |
# Note: no cron container for v5.3 | |
version: [54, 55, 56, 70, 71, 72, 73, 80, 81, 82, 83] | |
uses: ./.github/workflows/build-image.yml | |
with: | |
image: php${{ matrix.version }}-cron | |
context: ./php/php${{ matrix.version }}-cron | |
secrets: inherit |