Skip to content

Commit

Permalink
Merge pull request #929 from GNS3/use-venv-build-docker-images
Browse files Browse the repository at this point in the history
Use Python venv in build-docker-images.yml
  • Loading branch information
grossmj authored Oct 30, 2024
2 parents 1bd3ab5 + c4ac57e commit 1457a3f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/build-docker-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 1457a3f

Please sign in to comment.