From 73b213ce8375f5054f60d32da216ad0be0a93dd2 Mon Sep 17 00:00:00 2001
From: Pascal Mathis <mail@pascalmathis.com>
Date: Wed, 17 Jun 2020 21:11:43 +0200
Subject: [PATCH] fix: explicit caching of null for docker lookups (#6536)

---
 lib/datasource/docker/index.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/datasource/docker/index.ts b/lib/datasource/docker/index.ts
index 4af7d2f4c2..f90cb7bb66 100644
--- a/lib/datasource/docker/index.ts
+++ b/lib/datasource/docker/index.ts
@@ -368,7 +368,7 @@ export async function getDigest(
     );
   }
   const cacheMinutes = 30;
-  await globalCache.set(cacheNamespace, cacheKey, null, cacheMinutes);
+  await globalCache.set(cacheNamespace, cacheKey, digest, cacheMinutes);
   return digest;
 }
 
-- 
GitLab