File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 9292
9393 - name : " Generate the name of the Docker image and the container"
9494 id : docker
95+ env :
96+ RUNNER : ${{ RUNNER_NAME }}
9597 run : |
9698 image_name="${STK_DOCKER_IMAGE}-python${MAIN_PYTHON_VERSION}"
97- container_name="stk-python${MAIN_PYTHON_VERSION}"
99+ container_name="stk-python${MAIN_PYTHON_VERSION}-${RUNNER} "
98100 echo "image=${image_name}" >> "${GITHUB_OUTPUT}"
99101 echo "container=${container_name}" >> "${GITHUB_OUTPUT}"
100102
@@ -199,9 +201,11 @@ jobs:
199201
200202 - name : " Generate the name of the Docker image and the container"
201203 id : docker
204+ env :
205+ RUNNER : ${{ RUNNER_NAME }}
202206 run : |
203- image_name=${STK_DOCKER_IMAGE}-python${MAIN_PYTHON_VERSION}
204- container_name=stk-python${MAIN_PYTHON_VERSION}
207+ image_name=" ${STK_DOCKER_IMAGE}-python${MAIN_PYTHON_VERSION}"
208+ container_name=" stk-python${MAIN_PYTHON_VERSION}-${RUNNER}"
205209 echo "image=${image_name}" >> "${GITHUB_OUTPUT}"
206210 echo "container=${container_name}" >> "${GITHUB_OUTPUT}"
207211
Original file line number Diff line number Diff line change @@ -228,9 +228,11 @@ jobs:
228228 if : |
229229 contains(github.event.pull_request.labels.*.name, 'docs:examples')
230230 id : docker
231+ env :
232+ RUNNER : ${{ RUNNER_NAME }}
231233 run : |
232- image_name=${STK_DOCKER_IMAGE}-python${MAIN_PYTHON_VERSION}
233- container_name=stk-python${MAIN_PYTHON_VERSION}
234+ image_name=" ${STK_DOCKER_IMAGE}-python${MAIN_PYTHON_VERSION}"
235+ container_name=" stk-python${MAIN_PYTHON_VERSION}-${RUNNER}"
234236 echo "image=${image_name}" >> "${GITHUB_OUTPUT}"
235237 echo "container=${container_name}" >> "${GITHUB_OUTPUT}"
236238
@@ -424,9 +426,12 @@ jobs:
424426
425427 - name : " Generate the name of the Docker image and the container"
426428 id : docker
429+ env :
430+ PYTHON_VERSION : ${{ matrix.python }}
431+ RUNNER : ${{ RUNNER_NAME }}
427432 run : |
428- image_name=${STK_DOCKER_IMAGE}-python${MAIN_PYTHON_VERSION}
429- container_name=stk-python${MAIN_PYTHON_VERSION}
433+ image_name=" ${STK_DOCKER_IMAGE}-python${PYTHON_VERSION}"
434+ container_name=" stk-python${PYTHON_VERSION}-${RUNNER}"
430435 echo "image=${image_name}" >> "${GITHUB_OUTPUT}"
431436 echo "container=${container_name}" >> "${GITHUB_OUTPUT}"
432437
Original file line number Diff line number Diff line change @@ -138,9 +138,11 @@ jobs:
138138
139139 - name : " Generate the name of the Docker image and the container"
140140 id : docker
141+ env :
142+ RUNNER : ${{ RUNNER_NAME }}
141143 run : |
142144 image_name="${STK_DOCKER_IMAGE}-python${MAIN_PYTHON_VERSION}"
143- container_name="stk-python${MAIN_PYTHON_VERSION}"
145+ container_name="stk-python${MAIN_PYTHON_VERSION}-${RUNNER} "
144146 echo "image=${image_name}" >> "${GITHUB_OUTPUT}"
145147 echo "container=${container_name}" >> "${GITHUB_OUTPUT}"
146148
@@ -240,9 +242,10 @@ jobs:
240242 id : docker
241243 env :
242244 PYTHON : python-${{ matrix.python }}
245+ RUNNER : ${{ RUNNER_NAME }}
243246 run : |
244247 python_image_name="${STK_DOCKER_IMAGE}-${PYTHON}"
245- container_name="stk-${PYTHON}"
248+ container_name="stk-python ${PYTHON}-${RUNNER }"
246249 echo "image=${python_image_name}" >> "${GITHUB_OUTPUT}"
247250 echo "container=${container_name}" >> "${GITHUB_OUTPUT}"
248251
You can’t perform that action at this time.
0 commit comments