-
-
Notifications
You must be signed in to change notification settings - Fork 1
135 lines (94 loc) · 5 KB
/
epicmorg.base.images.web.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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
name: EpicMorg EcoSystem Web Images
on:
# push:
# branches:
# - 'master'
schedule:
- cron: '2 2 * * 1,3,5'
jobs:
build-php-images:
name: Build EpicMorg PHP Images
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Log into registry
run: echo "${{ secrets.DOCKER_SERVER_KEY }}" | docker login -u "${{ secrets.DOCKER_SERVER_LOGIN }}" --password-stdin
- name: Test Make
run: make
# - name: "Build and Deploy PHP Latest Image:"
# run: cd linux/ecosystem/php/latest && pwd && make build && make deploy
- name: "Build and Deploy PHP 7.0 Image:"
run: cd linux/ecosystem/php/php7.0 && pwd && make build && make deploy
- name: "Build and Deploy PHP 7.1 Image:"
run: cd linux/ecosystem/php/php7.1 && pwd && make build && make deploy
- name: "Build and Deploy PHP 7.2 Image:"
run: cd linux/ecosystem/php/php7.2 && pwd && make build && make deploy
- name: "Build and Deploy PHP 7.3 Image:"
run: cd linux/ecosystem/php/php7.3 && pwd && make build && make deploy
- name: "Build and Deploy PHP 7.4 Image:"
run: cd linux/ecosystem/php/php7.4 && pwd && make build && make deploy
- name: "Build and Deploy PHP 8.0 Image:"
run: cd linux/ecosystem/php/php8.0 && pwd && make build && make deploy
- name: "Build and Deploy PHP 8.1 Image:"
run: cd linux/ecosystem/php/php8.1 && pwd && make build && make deploy
- name: "Build and Deploy PHP 8.2 Image:"
run: cd linux/ecosystem/php/php8.2 && pwd && make build && make deploy
- name: "Build and Deploy PHP 8.3 Image:"
run: cd linux/ecosystem/php/php8.3 && pwd && make build && make deploy
##################################################################################
build-apache2-images:
name: Build EpicMorg Apache 2 Images
runs-on: ubuntu-22.04
needs: build-php-images
steps:
- uses: actions/checkout@v3
- name: Log into registry
run: echo "${{ secrets.DOCKER_SERVER_KEY }}" | docker login -u "${{ secrets.DOCKER_SERVER_LOGIN }}" --password-stdin
- name: Test Make
run: make
# - name: "Build and Deploy Apache 2 Latest Image:"
# run: cd linux/ecosystem/apache2/latest && pwd && make build && make deploy
- name: "Build and Deploy Apache 2 + PHP 7.0 Image:"
run: cd linux/ecosystem/apache2/php7.0 && pwd && make build && make deploy
- name: "Build and Deploy Apache 2 + PHP 7.1 Image:"
run: cd linux/ecosystem/apache2/php7.1 && pwd && make build && make deploy
- name: "Build and Deploy Apache 2 + PHP 7.2 Image:"
run: cd linux/ecosystem/apache2/php7.2 && pwd && make build && make deploy
- name: "Build and Deploy Apache 2 + PHP 7.3 Image:"
run: cd linux/ecosystem/apache2/php7.3 && pwd && make build && make deploy
- name: "Build and Deploy Apache 2 + PHP 7.4 Image:"
run: cd linux/ecosystem/apache2/php7.4 && pwd && make build && make deploy
- name: "Build and Deploy Apache 2 + PHP 8.0 Image:"
run: cd linux/ecosystem/apache2/php8.0 && pwd && make build && make deploy
- name: "Build and Deploy Apache 2 + PHP 8.1 Image:"
run: cd linux/ecosystem/apache2/php8.1 && pwd && make build && make deploy
- name: "Build and Deploy Apache 2 + PHP 8.2 Image:"
run: cd linux/ecosystem/apache2/php8.2 && pwd && make build && make deploy
- name: "Build and Deploy Apache 2 + PHP 8.3 Image:"
run: cd linux/ecosystem/apache2/php8.3 && pwd && make build && make deploy
##################################################################################
build-nginx-images:
name: Build EpicMorg NginX Images
runs-on: ubuntu-22.04
needs: build-php-images
steps:
- uses: actions/checkout@v3
- name: Log into registry
run: echo "${{ secrets.DOCKER_SERVER_KEY }}" | docker login -u "${{ secrets.DOCKER_SERVER_LOGIN }}" --password-stdin
- name: Test Make
run: make
- name: "Build and Deploy NginX Image:"
run: cd linux/ecosystem/nginx/latest/mainline/main && pwd && make build && make deploy
- name: "Build and Deploy NginX + PHP7.4 Image:"
run: cd linux/ecosystem/nginx/latest/mainline/php && pwd && make build && make deploy
- name: "Build and Deploy NginX + RTMP-HLS Image:"
run: cd linux/ecosystem/nginx/latest/mainline/rtmp-hls && pwd && make build && make deploy
# - name: "Build and Deploy NginX (quic, http3) Image:"
# run: cd linux/ecosystem/nginx/latest/quic/main && pwd && make build && make deploy
# - name: "Build and Deploy NginX (quic, http3) + PHP7.4 Image:"
# run: cd linux/ecosystem/nginx/latest/quic/php && pwd && make build && make deploy
# - name: "Build and Deploy NginX (quic, http3) + RTMP-HLS Image:"
# run: cd linux/ecosystem/nginx/latest/quic/rtmp-hls && pwd && make build && make deploy
##################################################################################
- name: Cleanup
run: make docker-clean