matrix : variables are meant to be used

This commit is contained in:
Gitouche 2022-05-25 21:22:15 +02:00
parent d5f17205f4
commit 68fdfeca13

View file

@ -9,7 +9,7 @@ ensure_not_root
buildfolder=/tmp/synapse-$$
if ! podman image exists localhost/matrixdotorg/synapse:${synapse_version}; then
if ! podman image exists ${synapse_image}:${synapse_version}; then
mkdir ${buildfolder} &&
curl -sSfL -- "https://github.com/matrix-org/synapse/archive/refs/tags/${synapse_version}.tar.gz" | \tar xz --strip-components 1 -C ${buildfolder}/ && {
podman run -d --name buildkitd --privileged docker.io/moby/buildkit:latest &&