Matrix : pull images before compose

This commit is contained in:
Gitouche 2022-02-25 13:52:29 +01:00
parent edb1990130
commit d26517e001
1 changed files with 2 additions and 0 deletions

View File

@ -20,6 +20,8 @@ if ! podman volume exists ${dbvolume} ; then
exit 1
fi
podman pull ${postgres_image}:${postgres_version} &&
podman pull ${synapse_image}:${synapse_version} &&
podman pod create --publish ${listen_if}:${listen_port}:8008 --name ${pod_name} &&
podman run -d --name ${db_container_name} --pod ${pod_name} \
--mount type=volume,src=${dbvolume},dst=/var/lib/postgresql/data/ \