mirror of
https://github.com/GNS3/gns3-registry.git
synced 2024-12-18 20:37:57 +00:00
Setup Python venv
This commit is contained in:
parent
c4ac57e200
commit
378c0c9cc0
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 }}
|
username: ${{ github.repository_owner }}
|
||||||
password: ${{ secrets.GITHUB_TOKEN }}
|
password: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Install python requirements
|
- name: Setup Virtual Environment & Install python requirements
|
||||||
run: |
|
run: |
|
||||||
python3 -m venv venv
|
python3 -m venv venv
|
||||||
source ./venv/bin/activate
|
source ./venv/bin/activate
|
||||||
@ -93,6 +93,7 @@ jobs:
|
|||||||
#
|
#
|
||||||
IMAGES: ${{ inputs.images }}
|
IMAGES: ${{ inputs.images }}
|
||||||
run: |
|
run: |
|
||||||
|
source ./venv/bin/activate
|
||||||
DOCKER_REPOSITORY=$(echo "$DOCKER_REPOSITORY" | sed '/^#/d')
|
DOCKER_REPOSITORY=$(echo "$DOCKER_REPOSITORY" | sed '/^#/d')
|
||||||
set -f
|
set -f
|
||||||
set -- $IMAGES
|
set -- $IMAGES
|
||||||
|
Loading…
Reference in New Issue
Block a user