Skip to content

Commit 80f1eee

Browse files
committed
ci: fix container name formatting
1 parent d851d66 commit 80f1eee

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/docker-devito.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252

5353
- name: Set per‑runner variables
5454
run: |
55-
echo "CONTAINER_NAME=testrun-${{ matrix.tag }}-$RUNNER_NAME" >> $GITHUB_ENV
55+
echo "CONTAINER_NAME=testrun-${{ matrix.tag }}-${RUNNER_NAME// /_}" >> $GITHUB_ENV
5656
5757
- name: Check event name
5858
run: echo ${{ github.event_name }}

.github/workflows/pytest-gpu.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,8 @@ jobs:
8989
- name: Set per-runner tags
9090
run: |
9191
echo "RUNNER_NAME=$RUNNER_NAME" >> $GITHUB_ENV
92-
echo "DOCKER_IMAGE=${{ matrix.name }}-$RUNNER_NAME" >> $GITHUB_ENV
93-
echo "CONTAINER_BASENAME=testrun-${{ matrix.name }}-$RUNNER_NAME" >> $GITHUB_ENV
92+
echo "DOCKER_IMAGE=${{ matrix.name }}-${RUNNER_NAME// /_}" >> $GITHUB_ENV
93+
echo "CONTAINER_BASENAME=testrun-${{ matrix.name }}-${RUNNER_NAME// /_}" >> $GITHUB_ENV
9494
9595
- name: Build docker image
9696
run: |

0 commit comments

Comments
 (0)