Skip to content
Snippets Groups Projects
Verified Commit 24927126 authored by Quentin Duchemin's avatar Quentin Duchemin
Browse files

[CI] Force docker-compose to pull newer versions of images

parent 4aca4fd0
No related branches found
No related tags found
No related merge requests found
......@@ -56,6 +56,8 @@ for v in $(docker-compose config --volumes); do
done
echo -e "\n==== Pull new versions of 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
docker-compose pull
echo -e "\n==== Replace production URL with testing URL in all files ===="
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment