File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 2323 registry : ${{ vars.WS_DOCKER_REGISTRY }}
2424 username : ${{ vars.DOCKERHUB_USERNAME }}
2525 password : ${{ secrets.DOCKERHUB_TOKEN }}
26-
27- - name : Set commit SHA as code version
28- run : echo "CODE_VERSION=`echo ${GITHUB_SHA} | cut -c1-8`" >> $GITHUB_ENV
2926
3027 - name : " Build Changelog"
3128 id : build_changelog
4037 env :
4138 ENV : ${{ vars.ENV }}
4239 WS_DOCKER_REGISTRY : ${{ vars.WS_DOCKER_REGISTRY }}
43-
40+ CODE_VERSION : ${{ github.sha }}
41+
4442 # passwords
4543 WS_API_DB_PASS : ${{ secrets.WS_API_DB_PASS }}
4644 WS_MAPBOX_ACCESS_TOKEN : ${{ secrets.WS_MAPBOX_ACCESS_TOKEN }}
5452 env :
5553 ENV : ${{ vars.ENV }}
5654 WS_DOCKER_REGISTRY : ${{ vars.WS_DOCKER_REGISTRY }}
55+ CODE_VERSION : ${{ github.sha }}
5756
5857 # machine to deploy to
5958 AZURE_DOCKER_HOST_IP : ${{ vars.AZURE_DOCKER_HOST_IP }}
You can’t perform that action at this time.
0 commit comments