Skip to content
Snippets Groups Projects
Commit e83126c6 authored by Corné Lukken's avatar Corné Lukken
Browse files

L2SS-947: Ignore pull failure for image builds

parent 48c437c4
Branches
Tags
1 merge request!414L2SS-947: Ignore pull failure for image builds
......@@ -159,9 +159,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