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
|
org.opencontainers.image.vendor=SemaphoreUI
|
||||||
maintainer=Semaphore UI <support@semui.co>
|
maintainer=Semaphore UI <support@semui.co>
|
||||||
tags: |
|
tags: |
|
||||||
type=semver,pattern={{version}}
|
type=raw,value=${{ github.ref_name }}
|
||||||
type=semver,pattern={{major}}.{{minor}}
|
|
||||||
type=semver,pattern={{major}}
|
|
||||||
flavor: |
|
flavor: |
|
||||||
latest=true
|
latest=true
|
||||||
|
|
||||||
@ -113,9 +111,7 @@ jobs:
|
|||||||
org.opencontainers.image.vendor=SemaphoreUI
|
org.opencontainers.image.vendor=SemaphoreUI
|
||||||
maintainer=Semaphore UI <support@semui.co>
|
maintainer=Semaphore UI <support@semui.co>
|
||||||
tags: |
|
tags: |
|
||||||
type=semver,pattern={{version}}
|
type=raw,value=${{ github.ref_name }}
|
||||||
type=semver,pattern={{major}}.{{minor}}
|
|
||||||
type=semver,pattern={{major}}
|
|
||||||
flavor: |
|
flavor: |
|
||||||
latest=true
|
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 SEMAPHORE_TMP_PATH="${SEMAPHORE_TMP_PATH:-/tmp/semaphore}"
|
||||||
export ANSIBLE_CONFIG="${ANSIBLE_CONFIG:-${SEMAPHORE_TMP_PATH}/ansible.cfg}"
|
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
|
if test -f "${SEMAPHORE_CONFIG_PATH}/packages.txt"; then
|
||||||
echoerr "Installing additional system dependencies"
|
echoerr "Installing additional system dependencies"
|
||||||
|
@ -181,7 +181,7 @@ EOF
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
source ./venv/bin/activate
|
source /home/semaphore/venv/bin/activate
|
||||||
|
|
||||||
if test -f "${SEMAPHORE_CONFIG_PATH}/packages.txt"; then
|
if test -f "${SEMAPHORE_CONFIG_PATH}/packages.txt"; then
|
||||||
echoerr "Installing additional system dependencies"
|
echoerr "Installing additional system dependencies"
|
||||||
|
Loading…
Reference in New Issue
Block a user