Skip to content

Commit ff93bdd

Browse files
committed
Mirror docker images in TCR Singapore. v4.0.240
1 parent e27b658 commit ff93bdd

File tree

3 files changed

+35
-4
lines changed

3 files changed

+35
-4
lines changed

.github/workflows/release.yml

+33-3
Original file line numberDiff line numberDiff line change
@@ -113,14 +113,44 @@ jobs:
113113
docker tag ossrs/lighthouse:$SRS_TAG registry.cn-hangzhou.aliyuncs.com/ossrs/lighthouse:latest
114114
docker push --all-tags registry.cn-hangzhou.aliyuncs.com/ossrs/lighthouse
115115
116-
# Tencent TCR hub
117-
- name: Login Tencent docker hub
116+
# Tencent TCR Singapore hub
117+
- name: Login Tencent Singapore docker hub
118+
uses: docker/login-action@v1
119+
with:
120+
registry: sgccr.ccs.tencentyun.com
121+
username: "${{ secrets.TCR_USERNAME }}"
122+
password: "${{ secrets.TCR_PASSWORD }}"
123+
- name: Push to Tencent Singapore docker hub
124+
run: |
125+
docker tag ossrs/srs:$SRS_TAG sgccr.ccs.tencentyun.com/ossrs/srs:$SRS_TAG
126+
docker tag ossrs/srs:$SRS_TAG sgccr.ccs.tencentyun.com/ossrs/srs:$SRS_VERSION
127+
docker tag ossrs/srs:$SRS_TAG sgccr.ccs.tencentyun.com/ossrs/srs:v$SRS_MAJOR
128+
docker tag ossrs/srs:$SRS_TAG sgccr.ccs.tencentyun.com/ossrs/srs:$SRS_MAJOR
129+
docker tag ossrs/srs:$SRS_TAG sgccr.ccs.tencentyun.com/ossrs/srs:latest
130+
docker push --all-tags sgccr.ccs.tencentyun.com/ossrs/srs
131+
#
132+
docker tag ossrs/droplet:$SRS_TAG sgccr.ccs.tencentyun.com/ossrs/droplet:$SRS_TAG
133+
docker tag ossrs/droplet:$SRS_TAG sgccr.ccs.tencentyun.com/ossrs/droplet:$SRS_VERSION
134+
docker tag ossrs/droplet:$SRS_TAG sgccr.ccs.tencentyun.com/ossrs/droplet:v$SRS_MAJOR
135+
docker tag ossrs/droplet:$SRS_TAG sgccr.ccs.tencentyun.com/ossrs/droplet:$SRS_MAJOR
136+
docker tag ossrs/droplet:$SRS_TAG sgccr.ccs.tencentyun.com/ossrs/droplet:latest
137+
docker push --all-tags sgccr.ccs.tencentyun.com/ossrs/droplet
138+
#
139+
docker tag ossrs/lighthouse:$SRS_TAG sgccr.ccs.tencentyun.com/ossrs/lighthouse:$SRS_TAG
140+
docker tag ossrs/lighthouse:$SRS_TAG sgccr.ccs.tencentyun.com/ossrs/lighthouse:$SRS_VERSION
141+
docker tag ossrs/lighthouse:$SRS_TAG sgccr.ccs.tencentyun.com/ossrs/lighthouse:v$SRS_MAJOR
142+
docker tag ossrs/lighthouse:$SRS_TAG sgccr.ccs.tencentyun.com/ossrs/lighthouse:$SRS_MAJOR
143+
docker tag ossrs/lighthouse:$SRS_TAG sgccr.ccs.tencentyun.com/ossrs/lighthouse:latest
144+
docker push --all-tags sgccr.ccs.tencentyun.com/ossrs/lighthouse
145+
146+
# Tencent TCR Beijing hub
147+
- name: Login Tencent Beijing docker hub
118148
uses: docker/login-action@v1
119149
with:
120150
registry: ccr.ccs.tencentyun.com
121151
username: "${{ secrets.TCR_USERNAME }}"
122152
password: "${{ secrets.TCR_PASSWORD }}"
123-
- name: Push to Tencent docker hub
153+
- name: Push to Tencent Beijing docker hub
124154
run: |
125155
docker tag ossrs/srs:$SRS_TAG ccr.ccs.tencentyun.com/ossrs/srs:$SRS_TAG
126156
docker tag ossrs/srs:$SRS_TAG ccr.ccs.tencentyun.com/ossrs/srs:$SRS_VERSION

trunk/doc/CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ The changelog for SRS.
88

99
## SRS 4.0 Changelog
1010

11+
* v4.0, 2022-02-09, Mirror docker images in TCR Singapore. v4.0.240
1112
* v4.0, 2022-02-08, Refine the error for WebRTC H5 publisher. v4.0.239
1213
* v4.0, 2022-02-04, Push docker to docker, acr and tcr. v4.0.238
1314
* v4.0, 2022-02-03, Merge [#2888](https://github.com/ossrs/srs/pull/2888): Fix bug when the value of http header is empty. (#2888). v4.0.237

trunk/src/core/srs_core_version4.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@
99

1010
#define VERSION_MAJOR 4
1111
#define VERSION_MINOR 0
12-
#define VERSION_REVISION 239
12+
#define VERSION_REVISION 240
1313

1414
#endif

0 commit comments

Comments
 (0)