diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1d27139ff2d3022f2f2e9966b3544e7a297213d6..784ce406fa9dcffb4ca29fefa92cb8154995703e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -46,8 +46,8 @@ build: variables: GIT_DEPTH: 1 script: - - echo "Runtime dependencies - [${DEPENDENCIES_RUNTIME}]" - docker pull "${CI_REGISTRY_IMAGE}:latest" || true + - echo "Runtime dependencies - [${DEPENDENCIES_RUNTIME}]" - docker build --cache-from "${CI_REGISTRY_IMAGE}:latest" -t "${CI_REGISTRY_IMAGE}:temp-${CI_PIPELINE_IID}" -f ./Dockerfile --build-arg DEPENDENCIES_RUNTIME="${DEPENDENCIES_RUNTIME}" . - docker push "${CI_REGISTRY_IMAGE}:temp-$CI_PIPELINE_IID"