From 17ff0399f0e4fc7942c4fae7f2e12fd8f142700c Mon Sep 17 00:00:00 2001
From: Paolo Brasolin <paolo.brasolin@eurac.edu>
Date: Tue, 1 Mar 2022 22:53:39 +0100
Subject: [PATCH] ci: freeze docker version

---
 .gitlab-ci.yml | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 3c3713a..150b8f6 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,5 +1,6 @@
 variables:
   DOCKER_TLS_CERTDIR: "" # HACK: see https://gitlab.com/gitlab-org/gitlab-runner/issues/4501
+  DOCKER_IMAGE: "docker:20.10.12"
 
 stages:
   - build
@@ -10,7 +11,7 @@ stages:
 # TODO: cache docker layers
 # TODO: build ts
 be-build-job:
-  image: docker:latest
+  image: $DOCKER_IMAGE
   stage: build
   tags:
     - commul
@@ -37,7 +38,7 @@ be-build-job:
 #==[ Backend deployment ]=======================================================
 
 .be-deploy-job:
-  image: docker:latest
+  image: $DOCKER_IMAGE
   stage: deploy
   needs:
     - job: be-build-job
-- 
GitLab