mirror of
https://github.com/GNS3/gns3-registry.git
synced 2024-12-18 20:37:57 +00:00
Merge pull request #930 from GNS3/use-venv-build-docker-images
Setup Python venv in build-docker-images workflow
This commit is contained in:
commit
68a0e4646d
3
.github/workflows/build-docker-images.yml
vendored
3
.github/workflows/build-docker-images.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user