File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -46,15 +46,14 @@ jobs:
4646 - name : ' Checkout Github Action'
4747 uses : actions/checkout@master
4848
49- - name : Compose build ${{ env.SERVICE }}
49+ - name : Compose build ${{ env.SERVICE }}
5050 run : docker-compose build ${{ env.SERVICE }}
5151 working-directory : ./src
5252 shell : pwsh
5353 env :
54- TAG : ${{ env.branch }}
54+ TAG : ${{ env.BRANCH }}
5555 REGISTRY : ${{ env.REGISTRY_ENDPOINT }}
56- PLATFORM : win
57- NODE_IMAGE : stefanscherer/node-windows:10
56+
5857 BuildLinux :
5958 runs-on : ubuntu-latest
6059 if : ${{ github.event_name != 'pull_request' }}
9998 echo $'{\n "experimental": "enabled"\n}' | sudo tee ~/.docker/config.json
10099 sudo service docker restart
101100 docker --config ~/.docker manifest create ${{ env.REGISTRY_ENDPOINT }}/${{ env.IMAGE }}:${{ env.BRANCH }} ${{ env.REGISTRY_ENDPOINT }}/${{ env.IMAGE }}:linux-${{ env.BRANCH }}
102- docker --config ~/.docker manifest create ${{ env.REGISTRY_ENDPOINT }}/${{ env.IMAGE }}:latest ${{ env.REGISTRY_ENDPOINT }}/${{ env.IMAGE }}:linux-latest
103101 docker --config ~/.docker manifest push ${{ env.REGISTRY_ENDPOINT }}/${{ env.IMAGE }}:${{ env.BRANCH }}
104- docker --config ~/.docker manifest push ${{ env.REGISTRY_ENDPOINT }}/${{ env.IMAGE }}:latest
105102 shell : bash
106103
107104 BuildWindows :
You can’t perform that action at this time.
0 commit comments