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 12
12
build_docker_images :
13
13
runs-on : ' ubuntu-20.04'
14
14
env :
15
- latest_python : ' 3.11'
15
+ latest : ${{ matrix.python_version == '3.11' && 'true' || '' }}
16
16
strategy :
17
17
matrix :
18
18
python_version :
52
52
tags : |
53
53
${{ env.IMAGE_NAME }}:latest-python${{ matrix.python_version }}
54
54
${{ env.IMAGE_NAME }}:${{ github.ref_name }}-python${{ matrix.python_version }}
55
- ${{ (matrix.python_version == env.latest_python) && format('{0}:{1}', env.IMAGE_NAME, github.ref_name) || '' }}
56
- ${{ (matrix.python_version == env.latest_python) && format('{0}:latest', env.IMAGE_NAME) || '' }}
55
+ ${{ env.latest && format('{0}:{1}', env.IMAGE_NAME, github.ref_name) || '' }}
56
+ ${{ env.latest && format('{0}:latest', env.IMAGE_NAME) || '' }}
57
57
cache-from : |
58
58
type=local,src=/tmp/.buildx-cache
59
59
cache-to : type=local,dest=/tmp/.buildx-cache-new
You can’t perform that action at this time.
0 commit comments