Commit c8127a85 authored by DasSkelett's avatar DasSkelett

Don't fail build if cache source doesn't exist yet

parent eb401682
...@@ -24,7 +24,7 @@ export params ...@@ -24,7 +24,7 @@ export params
# https://gitlab.com/gitlab-org/gitlab-foss/-/issues/17861#note_19140733 # https://gitlab.com/gitlab-org/gitlab-foss/-/issues/17861#note_19140733
if [[ $CI_USE_CACHE == true ]]; then if [[ $CI_USE_CACHE == true ]]; then
docker pull "$CI_IMAGE_TAG" docker pull "$CI_IMAGE_TAG" || true
fi fi
docker build "${params[@]}" -t "${CI_IMAGE_TAG}" . docker build "${params[@]}" -t "${CI_IMAGE_TAG}" .
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