From c4ac57e200979256a2ad17280deff91962776203 Mon Sep 17 00:00:00 2001 From: grossmj Date: Wed, 30 Oct 2024 18:30:29 +1000 Subject: [PATCH] Use Python venv in build-docker-images.yml --- .github/workflows/build-docker-images.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-docker-images.yml b/.github/workflows/build-docker-images.yml index 6d4cc3d..3c54237 100644 --- a/.github/workflows/build-docker-images.yml +++ b/.github/workflows/build-docker-images.yml @@ -60,7 +60,10 @@ jobs: password: ${{ secrets.GITHUB_TOKEN }} - name: Install python requirements - run: python3 -m pip install --break-system-packages --requirement .github/bin/requirements.txt + run: | + python3 -m venv venv + source ./venv/bin/activate + python3 -m pip install --requirement .github/bin/requirements.txt - name: Build and push images env: