-
-
Notifications
You must be signed in to change notification settings - Fork 117
234 lines (223 loc) · 8.03 KB
/
mirrors.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
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
name: "Mirror Required Docker Images"
on:
# See https://docs.github.com/en/actions/managing-workflow-runs/manually-running-a-workflow
workflow_dispatch:
jobs:
docker:
steps:
# Docker hub for global user
- name: Login docker hub
uses: docker/login-action@v2
with:
username: "${{ secrets.DOCKER_USERNAME }}"
password: "${{ secrets.DOCKER_PASSWORD }}"
# See https://hub.docker.com/r/ossrs/node/tags
- name: Mirror for node 18
uses: akhilerm/[email protected]
with:
src: node:hydrogen-slim
dst: |
ossrs/node:slim
ossrs/node:hydrogen-slim
ossrs/node:18
# See https://hub.docker.com/r/ossrs/prometheus/tags
- name: Mirror for prom/prometheus:v2.40.7
uses: akhilerm/[email protected]
with:
src: prom/prometheus:v2.40.7
dst: |
ossrs/prometheus:v2.40.7
ossrs/prometheus
# See https://hub.docker.com/r/ossrs/pushgateway/tags
- name: Mirror for prom/pushgateway:v1.4.3
uses: akhilerm/[email protected]
with:
src: prom/pushgateway:v1.4.3
dst: |
ossrs/pushgateway:v1.4.3
ossrs/pushgateway
# See https://hub.docker.com/r/ossrs/redis_exporter/tags
- name: Mirror for oliver006/redis_exporter
uses: akhilerm/[email protected]
with:
src: oliver006/redis_exporter
dst: |
ossrs/redis_exporter
# See https://hub.docker.com/r/ossrs/node-exporter/tags
- name: Mirror for prom/node-exporter v1.4.1
uses: akhilerm/[email protected]
with:
src: prom/node-exporter:v1.4.1
dst: |
ossrs/node-exporter
ossrs/node-exporter:v1.4.1
# See https://hub.docker.com/r/ossrs/redis/tags
- name: Mirror for redis:5.0
uses: akhilerm/[email protected]
with:
src: redis:5.0
dst: |
ossrs/redis:5.0
ossrs/redis
# See https://hub.docker.com/r/ossrs/grafana/tags
- name: Mirror for grafana:9.3.1
uses: akhilerm/[email protected]
with:
src: grafana/grafana:9.3.1
dst: |
ossrs/grafana:9.3.1
ossrs/grafana
# See https://hub.docker.com/r/ossrs/ubuntu/tags
- name: Mirror for ubuntu:focal
uses: akhilerm/[email protected]
with:
src: ubuntu:focal
dst: |
ossrs/ubuntu:focal
ossrs/ubuntu
runs-on: ubuntu-20.04
# See https://cr.console.aliyun.com/repository/cn-hangzhou/ossrs/node/images
aliyun-node:
needs: docker
steps:
- name: Login Aliyun docker hub
uses: docker/login-action@v2
with:
registry: registry.cn-hangzhou.aliyuncs.com
username: "${{ secrets.ACR_USERNAME }}"
password: "${{ secrets.ACR_PASSWORD }}"
- name: Mirror for node 18
uses: akhilerm/[email protected]
with:
src: node:hydrogen-slim
dst: |
registry.cn-hangzhou.aliyuncs.com/ossrs/node:slim
registry.cn-hangzhou.aliyuncs.com/ossrs/node:hydrogen-slim
registry.cn-hangzhou.aliyuncs.com/ossrs/node:18
runs-on: ubuntu-20.04
# See https://cr.console.aliyun.com/repository/cn-hangzhou/ossrs/prometheus/images
aliyun-prom:
needs: aliyun-node
steps:
- name: Login Aliyun docker hub
uses: docker/login-action@v2
with:
registry: registry.cn-hangzhou.aliyuncs.com
username: "${{ secrets.ACR_USERNAME }}"
password: "${{ secrets.ACR_PASSWORD }}"
- name: Mirror for prometheus:v2.40.7
uses: akhilerm/[email protected]
with:
src: prom/prometheus:v2.40.7
dst: |
registry.cn-hangzhou.aliyuncs.com/ossrs/prometheus:v2.40.7
registry.cn-hangzhou.aliyuncs.com/ossrs/prometheus
runs-on: ubuntu-20.04
# See https://cr.console.aliyun.com/repository/cn-hangzhou/ossrs/pushgateway/images
aliyun-pushgateway:
needs: aliyun-prom
steps:
- name: Login Aliyun docker hub
uses: docker/login-action@v2
with:
registry: registry.cn-hangzhou.aliyuncs.com
username: "${{ secrets.ACR_USERNAME }}"
password: "${{ secrets.ACR_PASSWORD }}"
- name: Mirror for prom/pushgateway:v1.4.3
uses: akhilerm/[email protected]
with:
src: prom/pushgateway:v1.4.3
dst: |
registry.cn-hangzhou.aliyuncs.com/ossrs/pushgateway:v1.4.3
registry.cn-hangzhou.aliyuncs.com/ossrs/pushgateway
runs-on: ubuntu-20.04
# See https://cr.console.aliyun.com/repository/cn-hangzhou/ossrs/redis_exporter/images
aliyun-redis-exporter:
needs: aliyun-pushgateway
steps:
- name: Login Aliyun docker hub
uses: docker/login-action@v2
with:
registry: registry.cn-hangzhou.aliyuncs.com
username: "${{ secrets.ACR_USERNAME }}"
password: "${{ secrets.ACR_PASSWORD }}"
- name: Mirror for redis_exporter
uses: akhilerm/[email protected]
with:
src: oliver006/redis_exporter
dst: |
registry.cn-hangzhou.aliyuncs.com/ossrs/redis_exporter
runs-on: ubuntu-20.04
# See https://cr.console.aliyun.com/repository/cn-hangzhou/ossrs/node-exporter/images
aliyun-node-exporter:
needs: aliyun-redis-exporter
steps:
- name: Login Aliyun docker hub
uses: docker/login-action@v2
with:
registry: registry.cn-hangzhou.aliyuncs.com
username: "${{ secrets.ACR_USERNAME }}"
password: "${{ secrets.ACR_PASSWORD }}"
- name: Mirror for node-exporter v1.4.1
uses: akhilerm/[email protected]
with:
src: prom/node-exporter:v1.4.1
dst: |
registry.cn-hangzhou.aliyuncs.com/ossrs/node-exporter
registry.cn-hangzhou.aliyuncs.com/ossrs/node-exporter:v1.4.1
runs-on: ubuntu-20.04
# See https://cr.console.aliyun.com/repository/cn-hangzhou/ossrs/redis/images
# TODO: FIXME: Only amd64.
aliyun-redis-server:
needs: aliyun-node-exporter
steps:
- name: Login Aliyun docker hub
uses: docker/login-action@v2
with:
registry: registry.cn-hangzhou.aliyuncs.com
username: "${{ secrets.ACR_USERNAME }}"
password: "${{ secrets.ACR_PASSWORD }}"
- name: Mirror for redis:5.0
uses: akhilerm/[email protected]
with:
src: redis:5.0
dst: |
registry.cn-hangzhou.aliyuncs.com/ossrs/redis:5.0
registry.cn-hangzhou.aliyuncs.com/ossrs/redis
runs-on: ubuntu-20.04
# See https://cr.console.aliyun.com/repository/cn-hangzhou/ossrs/grafana/images
aliyun-grafana:
needs: aliyun-redis-server
steps:
- name: Login Aliyun docker hub
uses: docker/login-action@v2
with:
registry: registry.cn-hangzhou.aliyuncs.com
username: "${{ secrets.ACR_USERNAME }}"
password: "${{ secrets.ACR_PASSWORD }}"
- name: Mirror for grafana:9.3.1
uses: akhilerm/[email protected]
with:
src: grafana/grafana:9.3.1
dst: |
registry.cn-hangzhou.aliyuncs.com/ossrs/grafana:9.3.1
registry.cn-hangzhou.aliyuncs.com/ossrs/grafana
runs-on: ubuntu-20.04
# See https://cr.console.aliyun.com/repository/cn-hangzhou/ossrs/ubuntu/images
aliyun-ubuntu:
needs: aliyun-grafana
steps:
- name: Login Aliyun docker hub
uses: docker/login-action@v2
with:
registry: registry.cn-hangzhou.aliyuncs.com
username: "${{ secrets.ACR_USERNAME }}"
password: "${{ secrets.ACR_PASSWORD }}"
- name: Mirror for ubuntu:focal
uses: akhilerm/[email protected]
with:
src: ubuntu:focal
dst: |
registry.cn-hangzhou.aliyuncs.com/ossrs/ubuntu:focal
registry.cn-hangzhou.aliyuncs.com/ossrs/ubuntu
runs-on: ubuntu-20.04