mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-12 06:56:24 +00:00
fix(docker): reorder manifest check
This commit is contained in:
parent
a7e24d51d1
commit
5695026b18
1 changed files with 1 additions and 1 deletions
|
@ -381,12 +381,12 @@ async function getLabels(registry, repository, tag) {
|
|||
}
|
||||
const manifest = JSON.parse(manifestResponse.body);
|
||||
let labels = {};
|
||||
const configDigest = manifest.config.digest;
|
||||
// istanbul ignore if
|
||||
if (!manifest.config) {
|
||||
logger.warn({ manifest }, 'Docker manifest error: no config');
|
||||
throw new Error('registry-failure');
|
||||
}
|
||||
const configDigest = manifest.config.digest;
|
||||
const headers = await getAuthHeaders(registry, repository);
|
||||
if (!headers) {
|
||||
logger.info('No docker auth found - returning');
|
||||
|
|
Loading…
Reference in a new issue