Merge pull request #930 from GNS3/use-venv-build-docker-images

Setup Python venv in build-docker-images workflow
This commit is contained in:
Jeremy Grossmann 2024-10-30 19:32:55 +10:00 committed by GitHub
commit 68a0e4646d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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
@ -93,6 +93,7 @@ jobs:
#
IMAGES: ${{ inputs.images }}
run: |
source ./venv/bin/activate
DOCKER_REPOSITORY=$(echo "$DOCKER_REPOSITORY" | sed '/^#/d')
set -f
set -- $IMAGES