From bcdb350891bf3e5f9d116e2e9ce5ff6eece31bfc Mon Sep 17 00:00:00 2001
From: Ryan Scott <ryan.gl.scott@gmail.com>
Date: Fri, 8 May 2020 10:33:51 -0400
Subject: [PATCH] Pin the Docker image version for .build as well

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

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index e4c2c2a..8045509 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -19,7 +19,7 @@ stages:
   - deploy
 
 variables:
-  # Commit of ghc/ci-images repository from which to pull Docker images
+  # Which nixos/nix Docker image tag to use
   DOCKER_TAG: "2.3"
 
   # Default GHC bindist
@@ -78,7 +78,7 @@ build-8.10:
   tags:
     - x86_64-linux
 
-  image: nixos/nix
+  image: "nixos/nix:$DOCKER_TAG"
 
   cache:
     key: build-HEAD
-- 
GitLab