diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 30961e3..61a8d2f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -53,6 +53,7 @@ build_container: before_script: - docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY script: + - docker pull $CI_REGISTRY_IMAGE:latest # Pull existing image to help with build caching - docker build -t website --target production -t $IMAGE_TAG . - docker push $IMAGE_TAG