File tree Expand file tree Collapse file tree 2 files changed +9
-118
lines changed
Expand file tree Collapse file tree 2 files changed +9
-118
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1- name : " Build and push Docker container "
1+ name : " Publish Docker image to Docker Hub "
22on :
3+ push :
4+ branches :
5+ - main
36 workflow_dispatch :
47 inputs :
5- branch :
6- description : Choose branch or tag, defaults to main
7- type : string
8- required : true
9- default : main
108 emsdk_version :
119 description : Emscripten SDK version, defaults to 4.0.20
1210 type : string
1311 required : false
1412 default : " 4.0.20"
15- docker_tag :
16- description : Docker tag to use, defaults to latest
17- type : string
18- required : false
19- default : " latest"
13+
2014jobs :
2115 build :
2216 runs-on : " ubuntu-latest"
2317 steps :
2418 - name : Checkout
2519 uses : actions/checkout@v6
2620 with :
27- ref : ${{ inputs.branch }}
2821 submodules : ' true'
2922
3023 - name : Install Linux deps
@@ -43,11 +36,12 @@ jobs:
4336
4437 - name : Setup Emscripten SDK
4538 run : |
39+ EMSDK_VERSION="${{ inputs.emsdk_version || '4.0.20' }}"
4640 wget https://github.com/emscripten-core/emsdk/archive/main.zip
4741 unzip main.zip
4842 cd emsdk-main
49- ./emsdk install ${{ inputs.emsdk_version }}
50- ./emsdk activate ${{ inputs.emsdk_version }}
43+ ./emsdk install $EMSDK_VERSION
44+ ./emsdk activate $EMSDK_VERSION
5145 source ./emsdk_env.sh
5246 echo "EMSDK=$EMSDK" >> $GITHUB_ENV
5347 echo "EM_CONFIG=$EM_CONFIG" >> $GITHUB_ENV
8276 pull : true
8377 push : true
8478 tags : |
85- jitsi/opus-transcriber-proxy:${{ inputs.docker_tag }}
79+ jitsi/opus-transcriber-proxy:latest
8680 jitsi/opus-transcriber-proxy:${{ github.sha }}
You can’t perform that action at this time.
0 commit comments