mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Config: Support better env name for prefixed with srs (#3370)
* Actions: Fix github action warnings. * Forward: Bind the context id of source or stream. * Config: Support better env names. Co-authored-by: pengfei.ma <pengfei.ma@ctechm.com> Co-authored-by: Haibo Chen <495810242@qq.com>
This commit is contained in:
parent
920d492942
commit
a4e7427433
7 changed files with 52 additions and 12 deletions
8
.github/workflows/release.yml
vendored
8
.github/workflows/release.yml
vendored
|
@ -252,7 +252,7 @@ jobs:
|
|||
##################################################################################################################
|
||||
# Create main images for Docker
|
||||
- name: Login to docker hub
|
||||
uses: docker/login-action@v1
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
username: "${{ secrets.DOCKER_USERNAME }}"
|
||||
password: "${{ secrets.DOCKER_PASSWORD }}"
|
||||
|
@ -267,7 +267,7 @@ jobs:
|
|||
# Docker alias images
|
||||
# TODO: FIXME: If stable, please set the latest from 4.0 to 5.0
|
||||
- name: Docker alias images for ossrs/srs
|
||||
uses: akhilerm/tag-push-action@v2.0.0
|
||||
uses: akhilerm/tag-push-action@v2.1.0
|
||||
with:
|
||||
src: ossrs/srs:${{ env.SRS_TAG }}
|
||||
dst: |
|
||||
|
@ -291,13 +291,13 @@ jobs:
|
|||
# Aliyun ACR
|
||||
# TODO: FIXME: If stable, please set the latest from 4.0 to 5.0
|
||||
- name: Login aliyun hub
|
||||
uses: docker/login-action@v1
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
registry: registry.cn-hangzhou.aliyuncs.com
|
||||
username: "${{ secrets.ACR_USERNAME }}"
|
||||
password: "${{ secrets.ACR_PASSWORD }}"
|
||||
- name: Push to Aliyun registry for ossrs/srs
|
||||
uses: akhilerm/tag-push-action@v2.0.0
|
||||
uses: akhilerm/tag-push-action@v2.1.0
|
||||
with:
|
||||
src: ossrs/srs:${{ env.SRS_TAG }}
|
||||
dst: |
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue