diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 00418403a..4615e4010 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -4,6 +4,7 @@ on: push: tags: - v3* + - v4* jobs: k8s: @@ -72,4 +73,11 @@ jobs: if: ${{ startsWith(github.ref, 'refs/tags/v3') }} run: |- kubectl set image deploy/srs3-deploy srs=registry.cn-hangzhou.aliyuncs.com/ossrs/srs:$SRS_TAG - kubectl describe deploy/srs3-deploy \ No newline at end of file + 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 \ No newline at end of file diff --git a/trunk/Dockerfile b/trunk/Dockerfile index a48b22e79..616b3a7a2 100644 --- a/trunk/Dockerfile +++ b/trunk/Dockerfile @@ -6,7 +6,7 @@ RUN yum install -y gcc make gcc-c++ patch unzip perl git # Build and install SRS. COPY . /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. 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 -R research/console /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