From 52527794c07ef57905cbb0c7fbe5bfb61bd9d2bf Mon Sep 17 00:00:00 2001
From: Rhys Arkins <rhys@arkins.net>
Date: Sat, 15 Feb 2020 17:49:57 +0100
Subject: [PATCH] fix(docker): ignore quay.io errors

---
 lib/datasource/docker/index.ts | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/lib/datasource/docker/index.ts b/lib/datasource/docker/index.ts
index 8a2c24c908..303280adbd 100644
--- a/lib/datasource/docker/index.ts
+++ b/lib/datasource/docker/index.ts
@@ -560,6 +560,11 @@ async function getLabels(
         'Timeout when attempting to connect to docker registry'
       );
       logger.debug({ err });
+    } else if (err.host === 'quay.io' && err.statusCode === 400) {
+      // istanbul ignore next
+      logger.debug(
+        'Ignoring quay.io errors until they fully support v2 schema'
+      );
     } else {
       logger.warn(
         { registry, dockerRepository: repository, tag, err },
-- 
GitLab