Setup Python venv

This commit is contained in:
grossmj 2024-10-30 19:30:29 +10:00
parent c4ac57e200
commit 378c0c9cc0
No known key found for this signature in database
GPG Key ID: 0A2D76AC45EA25CD

View File

@ -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