7979
8080 - name : Set per-runner tags
8181 run : |
82- echo "DOCKER_IMAGE=${{ matrix.name }}-${RUNNER_NAME// /_}" >> $GITHUB_ENV
83- echo "CONTAINER_BASENAME=testrun-${{ matrix.name }}-${RUNNER_NAME// /_}-${{ github.sha }}" >> $GITHUB_ENV
82+ echo "DOCKER_IMAGE=${{ matrix.name }}-${RUNNER_NAME// /_}" >> " $GITHUB_ENV"
83+ echo "CONTAINER_BASENAME=testrun-${{ matrix.name }}-${RUNNER_NAME// /_}-${{ github.sha }}" >> " $GITHUB_ENV"
8484
8585 - name : Ensure buildx builder
8686 run : |
9393 docker buildx build . \
9494 --builder "${RUNNER_NAME// /_}" \
9595 --load \
96- --label ci-run=$GITHUB_RUN_ID \
96+ --label ci-run=" $GITHUB_RUN_ID" \
9797 --rm --pull \
9898 --file docker/Dockerfile.devito \
9999 --tag "${DOCKER_IMAGE}" \
@@ -107,7 +107,7 @@ jobs:
107107 # Make sure CUDA_VISIBLE_DEVICES is at least *something* on NVIDIA
108108 # runners; fall back to "all" so the driver probe does not fail.
109109 if [[ "${{ matrix.runner_label }}" == "nvidiagpu" && -z "${CUDA_VISIBLE_DEVICES:-}" ]]; then
110- echo "CUDA_VISIBLE_DEVICES=all" >> $GITHUB_ENV
110+ echo "CUDA_VISIBLE_DEVICES=all" >> " $GITHUB_ENV"
111111 fi
112112
113113 # Run a simple driver-probe command (nvidia-smi / rocm-smi)
@@ -124,7 +124,7 @@ jobs:
124124
125125 # Run the test suite using the matrix-defined flags
126126 docker run ${{ matrix.flags }} \
127- ${ci_env} \
127+ " ${ci_env}" \
128128 -e CI=true \
129129 -e PYTHONFAULTHANDLER=1 \
130130 -e DEVITO_LOGGING=DEBUG \
@@ -152,7 +152,7 @@ jobs:
152152 docker rmi -f "${DOCKER_IMAGE}" || true
153153
154154 # Classic image layers created in this job
155- docker image prune -f --filter label=ci-run=$GITHUB_RUN_ID
155+ docker image prune -f --filter label=ci-run=" $GITHUB_RUN_ID"
156156
157157 # BuildKit cache: target the per-runner builder explicitly
158158 docker builder prune --builder "${RUNNER_NAME// /_}" \
0 commit comments