mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Support release SRS 4.0
This commit is contained in:
parent
becfb517bd
commit
cadefc34ae
2 changed files with 11 additions and 3 deletions
10
.github/workflows/release.yml
vendored
10
.github/workflows/release.yml
vendored
|
@ -4,6 +4,7 @@ on:
|
||||||
push:
|
push:
|
||||||
tags:
|
tags:
|
||||||
- v3*
|
- v3*
|
||||||
|
- v4*
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
k8s:
|
k8s:
|
||||||
|
@ -72,4 +73,11 @@ jobs:
|
||||||
if: ${{ startsWith(github.ref, 'refs/tags/v3') }}
|
if: ${{ startsWith(github.ref, 'refs/tags/v3') }}
|
||||||
run: |-
|
run: |-
|
||||||
kubectl set image deploy/srs3-deploy srs=registry.cn-hangzhou.aliyuncs.com/ossrs/srs:$SRS_TAG
|
kubectl set image deploy/srs3-deploy srs=registry.cn-hangzhou.aliyuncs.com/ossrs/srs:$SRS_TAG
|
||||||
kubectl describe deploy/srs3-deploy
|
kubectl describe deploy/srs3-deploy
|
||||||
|
|
||||||
|
- name: Release SRS 4.0 to Aliyun ACK
|
||||||
|
shell: bash
|
||||||
|
if: ${{ startsWith(github.ref, 'refs/tags/v4') }}
|
||||||
|
run: |-
|
||||||
|
kubectl set image deploy/srs4-deploy srs4=registry.cn-hangzhou.aliyuncs.com/ossrs/srs:$SRS_TAG
|
||||||
|
kubectl describe deploy/srs4-deploy
|
|
@ -6,7 +6,7 @@ RUN yum install -y gcc make gcc-c++ patch unzip perl git
|
||||||
# Build and install SRS.
|
# Build and install SRS.
|
||||||
COPY . /trunk
|
COPY . /trunk
|
||||||
WORKDIR /trunk
|
WORKDIR /trunk
|
||||||
RUN ./configure --jobs=2 && make -j2 && make install
|
RUN ./configure --srt=on --jobs=2 && make -j2 && make install
|
||||||
|
|
||||||
# All config files for SRS.
|
# All config files for SRS.
|
||||||
RUN cp -R conf /usr/local/srs/conf
|
RUN cp -R conf /usr/local/srs/conf
|
||||||
|
@ -16,7 +16,7 @@ RUN cp research/api-server/static-dir/favicon.ico /usr/local/srs/objs/nginx/html
|
||||||
RUN cp research/players/crossdomain.xml /usr/local/srs/objs/nginx/html/
|
RUN cp research/players/crossdomain.xml /usr/local/srs/objs/nginx/html/
|
||||||
RUN cp -R research/console /usr/local/srs/objs/nginx/html/
|
RUN cp -R research/console /usr/local/srs/objs/nginx/html/
|
||||||
RUN cp -R research/players /usr/local/srs/objs/nginx/html/
|
RUN cp -R research/players /usr/local/srs/objs/nginx/html/
|
||||||
#RUN cp -R 3rdparty/signaling/www/demos /usr/local/srs/objs/nginx/html/
|
RUN cp -R 3rdparty/signaling/www/demos /usr/local/srs/objs/nginx/html/
|
||||||
|
|
||||||
############################################################
|
############################################################
|
||||||
# dist
|
# dist
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue