Skip to content

Commit

Permalink
Merge pull request #930 from GNS3/use-venv-build-docker-images
Browse files Browse the repository at this point in the history
Setup Python venv in build-docker-images workflow
  • Loading branch information
grossmj authored Oct 30, 2024
2 parents 1457a3f + bc9c979 commit 68a0e46
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build-docker-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Install python requirements
- name: Setup Virtual Environment & Install python requirements
run: |
python3 -m venv venv
source ./venv/bin/activate
Expand Down Expand Up @@ -93,6 +93,7 @@ jobs:
#
IMAGES: ${{ inputs.images }}
run: |
source ./venv/bin/activate
DOCKER_REPOSITORY=$(echo "$DOCKER_REPOSITORY" | sed '/^#/d')
set -f
set -- $IMAGES
Expand Down

0 comments on commit 68a0e46

Please sign in to comment.