File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 2626 - name : Get release version
2727 if : startsWith(github.ref, 'refs/tags/') || github.event_name == 'release'
2828 id : get_version
29- run : echo ::set-env name=RELEASE_VERSION::$(echo ${GITHUB_REF##*/})
29+ run : echo " ::set-output name=RELEASE_VERSION::$(echo ${GITHUB_REF##*/})"
3030
3131 - name : Publish Releases to Docker
3232 # only on releases
3737 username : ${{ secrets.DOCKER_USERNAME }}
3838 password : ${{ secrets.DOCKER_PASSWORD }}
3939 dockerfile : dockers/release/Dockerfile
40- build_args : PYTHON_VERSION=${{ matrix.python_version }},PYTORCH_VERSION=${{ matrix.pytorch_version }},LIGHTNING_VERSION=${{ env .RELEASE_VERSION }}
41- tags : " ${{ env .RELEASE_VERSION }}-py${{ matrix.python_version }}-torch${{ matrix.pytorch_version }},latest-py${{ matrix.python_version }}-torch${{ matrix.pytorch_version }}"
40+ build_args : PYTHON_VERSION=${{ matrix.python_version }},PYTORCH_VERSION=${{ matrix.pytorch_version }},LIGHTNING_VERSION=${{ steps.get_version.outputs .RELEASE_VERSION }}
41+ tags : " ${{ steps.get_version.outputs .RELEASE_VERSION }}-py${{ matrix.python_version }}-torch${{ matrix.pytorch_version }},latest-py${{ matrix.python_version }}-torch${{ matrix.pytorch_version }}"
4242 timeout-minutes : 55
You can’t perform that action at this time.
0 commit comments