Skip to content

Commit a3e7e89

Browse files
fix(ci): image name in tests job (#855)
Co-authored-by: pyansys-ci-bot <[email protected]>
1 parent a8487ad commit a3e7e89

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

.github/workflows/ci_cd_release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -238,15 +238,15 @@ jobs:
238238
with:
239239
persist-credentials: false
240240

241-
- name: "Generate the name of the docker image and the container"
241+
- name: "Generate the name of the Docker image and the container"
242242
id: docker
243243
env:
244-
PYTHON: python-${{ matrix.python }}
244+
PYTHON_VERSION: ${{ matrix.python }}
245245
RUNNER: ${{ runner.name }}
246246
run: |
247-
python_image_name="${STK_DOCKER_IMAGE}-${PYTHON}"
248-
container_name="stk-python${PYTHON}-${RUNNER}"
249-
echo "image=${python_image_name}" >> "${GITHUB_OUTPUT}"
247+
image_name="${STK_DOCKER_IMAGE}-python${PYTHON_VERSION}"
248+
container_name="stk-python${PYTHON_VERSION}-${RUNNER}"
249+
echo "image=${image_name}" >> "${GITHUB_OUTPUT}"
250250
echo "container=${container_name}" >> "${GITHUB_OUTPUT}"
251251
252252
- name: "Start the container from the desired image"

doc/source/changelog/855.fixed.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Image name in tests job

0 commit comments

Comments
 (0)