mirror of
https://github.com/semaphoreui/semaphore.git
synced 2024-11-24 22:06:43 +01:00
ci(docker): use full path of venv
This commit is contained in:
parent
afd2f59e4a
commit
fe3cc6c031
8
.github/workflows/release.yml
vendored
8
.github/workflows/release.yml
vendored
@ -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
|
||||
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user