Commit 9a1acab9 authored by Lambert Theisen's avatar Lambert Theisen 🔥

Try pulling image for repeated stage execution

parent 0b6d26cc
Pipeline #307377 canceled with stages
in 31 seconds
......@@ -20,6 +20,7 @@ prepare:docker:
# - docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
script:
- docker pull $CI_REGISTRY_IMAGE:latest || true
- docker pull $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA || true
- docker build
--cache-from $CI_REGISTRY_IMAGE:latest
--tag $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA
......
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