ci(docker): use full path of venv

This commit is contained in:
fiftin 2024-05-27 23:00:47 +02:00
parent afd2f59e4a
commit fe3cc6c031
No known key found for this signature in database
GPG Key ID: 044381366A5D4731
3 changed files with 4 additions and 8 deletions

View File

@ -85,9 +85,7 @@ jobs:
org.opencontainers.image.vendor=SemaphoreUI
maintainer=Semaphore UI <support@semui.co>
tags: |
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
type=raw,value=${{ github.ref_name }}
flavor: |
latest=true
@ -113,9 +111,7 @@ jobs:
org.opencontainers.image.vendor=SemaphoreUI
maintainer=Semaphore UI <support@semui.co>
tags: |
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
type=raw,value=${{ github.ref_name }}
flavor: |
latest=true

View File

@ -6,7 +6,7 @@ export SEMAPHORE_CONFIG_PATH="${SEMAPHORE_CONFIG_PATH:-/etc/semaphore}"
export SEMAPHORE_TMP_PATH="${SEMAPHORE_TMP_PATH:-/tmp/semaphore}"
export ANSIBLE_CONFIG="${ANSIBLE_CONFIG:-${SEMAPHORE_TMP_PATH}/ansible.cfg}"
source ./venv/bin/activate
source /home/semaphore/venv/bin/activate
if test -f "${SEMAPHORE_CONFIG_PATH}/packages.txt"; then
echoerr "Installing additional system dependencies"

View File

@ -181,7 +181,7 @@ EOF
fi
fi
source ./venv/bin/activate
source /home/semaphore/venv/bin/activate
if test -f "${SEMAPHORE_CONFIG_PATH}/packages.txt"; then
echoerr "Installing additional system dependencies"