From f4826e6855319006641046964349ea25d8a1640a Mon Sep 17 00:00:00 2001
From: laurentheirendt <laurent.heirendt@uni.lu>
Date: Thu, 5 Aug 2021 09:35:00 +0200
Subject: [PATCH] Revert "WIP: access docker img directly"

This reverts commit 653698bb703040f150f1ed30be78db322a4bc28b.
---
 .gitlab-ci.yml | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 8ea03f40..93c7737d 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -106,9 +106,13 @@ build:pages:
 
 check:links:
    stage: check
-   image:
-     name: $CI_REGISTRY/r3/apps/tailorbird/linkchecker
-     entrypoint: [""]
+   image: docker:19.03.12
+   variables:
+     DOCKER_TLS_CERTDIR: ""
+     DOCKER_DRIVER: overlay2
+   services:
+     - name: docker:19.03.12-dind
+       command: ["--mtu=1458"]
    rules:
      - if: $CI_COMMIT_REF_NAME
      - if: $CI_MERGE_REQUEST_ID
@@ -117,7 +121,7 @@ check:links:
      - cp .ci/jsonWhitelist.txt build/.
      - cp -r build checkFolder
    script:
-     - python link_check.py
+     - docker run -v "$(pwd)"/build:/checkFolder -t $CI_REGISTRY/r3/apps/tailorbird/linkchecker
 
 # generate
 # ------------------------------------------------------------------------------------
-- 
GitLab