Support release SRS 4.0

pull/2470/head
winlin 4 years ago
parent becfb517bd
commit cadefc34ae

@ -4,6 +4,7 @@ on:
push: push:
tags: tags:
- v3* - v3*
- v4*
jobs: jobs:
k8s: k8s:
@ -73,3 +74,10 @@ jobs:
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…
Cancel
Save