From 8cd55375af28d668a422f179dd1e2d9f0820c243 Mon Sep 17 00:00:00 2001 From: Oliver Holworthy <1216955+oliverholworthy@users.noreply.github.com> Date: Mon, 3 Jul 2023 21:05:08 +0100 Subject: [PATCH] Remove image env --- .github/workflows/gpu.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/gpu.yml b/.github/workflows/gpu.yml index 85d097890a..58ff8c862e 100644 --- a/.github/workflows/gpu.yml +++ b/.github/workflows/gpu.yml @@ -100,11 +100,9 @@ jobs: # tox -e gpu-cu11 tests-examples: - env: - IMAGE: "nvidia/cuda:11.8.0-runtime-ubuntu22.04" runs-on: linux-amd64-gpu-p100-latest-1 container: - image: ${{ env.IMAGE }} + image: "nvidia/cuda:11.8.0-runtime-ubuntu22.04" env: NVIDIA_VISIBLE_DEVICES: ${{ env.NVIDIA_VISIBLE_DEVICES }} strategy: @@ -130,7 +128,7 @@ jobs: - uses: actions/cache@v3 with: path: .tox - key: tox-${{ env.IMAGE }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('requirements/*.txt') }} + key: tox-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('requirements/*.txt') }} - name: Install and upgrade python packages run: | python -m pip install --upgrade pip tox