|
| 1 | +name: Build docker-dev images upon a new release |
| 2 | + |
| 3 | +on: |
| 4 | + release: |
| 5 | + types: |
| 6 | + - created |
| 7 | + |
| 8 | +jobs: |
| 9 | + build-apache-image: |
| 10 | + name: Build Apache image |
| 11 | + uses: ./.github/workflows/build-image.yml |
| 12 | + with: |
| 13 | + image: apache |
| 14 | + context: ./apache |
| 15 | + secrets: inherit |
| 16 | + |
| 17 | + build-nginx-image: |
| 18 | + name: Build Nginx image |
| 19 | + uses: ./.github/workflows/build-image.yml |
| 20 | + with: |
| 21 | + image: nginx |
| 22 | + context: ./nginx |
| 23 | + secrets: inherit |
| 24 | + |
| 25 | + build-mssql-images: |
| 26 | + name: Build MSSQL images |
| 27 | + strategy: |
| 28 | + matrix: |
| 29 | + version: [2017, 2019, 2022] |
| 30 | + uses: ./.github/workflows/build-image.yml |
| 31 | + with: |
| 32 | + image: mssql${{ matrix.version }} |
| 33 | + context: ./mssql |
| 34 | + dockerfile: ${{ matrix.version }}/Dockerfile |
| 35 | + multiarch: false # Mssql does not support multiple architectures |
| 36 | + secrets: inherit |
| 37 | + |
| 38 | + build-php-images: |
| 39 | + name: Build PHP base images |
| 40 | + strategy: |
| 41 | + matrix: |
| 42 | + version: [53, 54, 55, 56, 70, 71, 72, 73, 80, 81, 82, 83] |
| 43 | + uses: ./.github/workflows/build-image.yml |
| 44 | + with: |
| 45 | + image: php${{ matrix.version }} |
| 46 | + context: ./php/php${{ matrix.version }} |
| 47 | + secrets: inherit |
| 48 | + |
| 49 | + build-php-debug-images: |
| 50 | + name: Build PHP debug images |
| 51 | + needs: build-php-images |
| 52 | + strategy: |
| 53 | + matrix: |
| 54 | + version: [53, 54, 55, 56, 70, 71, 72, 73, 80, 81, 82, 83] |
| 55 | + uses: ./.github/workflows/build-image.yml |
| 56 | + with: |
| 57 | + image: php${{ matrix.version }}-debug |
| 58 | + context: ./php/php${{ matrix.version }}-debug |
| 59 | + secrets: inherit |
| 60 | + |
| 61 | + build-php-cron-images: |
| 62 | + name: Build PHP cron images |
| 63 | + needs: build-php-images |
| 64 | + strategy: |
| 65 | + matrix: |
| 66 | + # Note: no cron container for v5.3 |
| 67 | + version: [54, 55, 56, 70, 71, 72, 73, 80, 81, 82, 83] |
| 68 | + uses: ./.github/workflows/build-image.yml |
| 69 | + with: |
| 70 | + image: php${{ matrix.version }}-cron |
| 71 | + context: ./php/php${{ matrix.version }}-cron |
| 72 | + secrets: inherit |
0 commit comments