image_tagged pulled instead of image_previous in build.sh
I don't know if I miss something but in the build.sh script, the docker is built using --cache-from
with $image_previous
and $image_latest
(l.84 -> 99). In order to use the images, they should be pulled before. However, in the previous lines of the script the $image_tagged
is pulled instead of $image_previous
:
docker image pull "$image_tagged" || \
docker image pull "$image_latest" || \
true
should be :
docker image pull "$image_previous" || \
docker image pull "$image_latest" || \
true
Edited by Martin Perier-Dulhoste