From 64de057cc1880d6c2ae1179db5517ba1cf5678d0 Mon Sep 17 00:00:00 2001
From: Rhys Arkins <rhys@arkins.net>
Date: Sat, 15 Feb 2020 21:53:34 +0100
Subject: [PATCH] fix(docker): better ignore quay.io

---
 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 303280adbd..2ca7ef8900 100644
--- a/lib/datasource/docker/index.ts
+++ b/lib/datasource/docker/index.ts
@@ -560,7 +560,7 @@ async function getLabels(
         'Timeout when attempting to connect to docker registry'
       );
       logger.debug({ err });
-    } else if (err.host === 'quay.io' && err.statusCode === 400) {
+    } else if (registry === 'https://quay.io') {
       // istanbul ignore next
       logger.debug(
         'Ignoring quay.io errors until they fully support v2 schema'
-- 
GitLab