-
Notifications
You must be signed in to change notification settings - Fork 34
72 lines (65 loc) · 1.83 KB
/
release.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
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