Verified Commit 7d5ca88e authored by Quentin Duchemin's avatar Quentin Duchemin
Browse files

[Testing] Pull before building images, otherwise seems to overwrite images

parent 1f68337b
......@@ -83,12 +83,12 @@ echo -e "\n==== Remove old images ===="
# For some reasons, sometime docker-compose does not pull the newer image. Force this!
docker-compose config | grep "image:" | cut -d ':' -f 2- | xargs docker image rm || true
echo -e "\n==== Build custom images ===="
docker-compose build
echo -e "\n==== Pull new versions of external images ===="
docker-compose pull
echo -e "\n==== Build custom images ===="
docker-compose build
# Except for registry URL, useful to push to production registry after build
echo -e "\n==== Replace production URL with testing URL in all files ===="
for f in $(grep -l -r "" .); do
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment