From ae92fd0f3894d1c0dc343a75bfc3c4df9acd2705 Mon Sep 17 00:00:00 2001 From: Nicolas Patry Date: Wed, 2 Oct 2024 17:46:08 +0200 Subject: [PATCH] from env --- .github/workflows/build.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index ee48e7a8..d6f48089 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -197,5 +197,5 @@ jobs: # export EXTRA_PYTEST="${{ needs.build-and-push.outputs.extra_pytest }}" # export HF_TOKEN=${{ secrets.HF_TOKEN }} echo $DOCKER_IMAGE - python -c 'import docker; docker.containers.run("registry.internal.huggingface.tech/api-inference/community/text-generation-inference:sha-318bbc7-rocm")' + python -c 'import docker; client = docker.from_env(); client.containers.run("registry.internal.huggingface.tech/api-inference/community/text-generation-inference:sha-318bbc7-rocm")' # pytest -s -vv integration-tests ${PYTEST_FLAGS} ${EXTRA_PYTEST}