Skip to content
Snippets Groups Projects
Commit a672dd1d authored by Corné Lukken's avatar Corné Lukken Committed by Taya Snijder
Browse files

L2SS-947: Ignore pull failure for image builds

parent 5631e6ca
No related branches found
No related tags found
2 merge requests!415Draft: Resolve L2SS-912 "Add ccd device testing",!406Resolve L2SS-912 "Add ccd device"
......@@ -161,9 +161,9 @@ if [ ! -z "${1+x}" ] && [ "${1}" != "pull" ]; then
local_url="${LOCAL_DOCKER_REGISTRY_HOST}/${LOCAL_DOCKER_REGISTRY_USER}/${2}"
# If tag is not latest, than it is not a tagged master build and we can
# pull the latest image as cache.
# pull the latest image as cache (if it already exists).
if [ "${tag}" != "latest" ]; then
docker pull "${local_url}:latest"
docker pull "${local_url}:latest" || true
fi
make build "${1}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment