mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-12 06:56:24 +00:00
parent
2c8484817d
commit
b8df0f8571
1 changed files with 4 additions and 0 deletions
|
@ -266,6 +266,10 @@ async function getTags(registry, repository) {
|
|||
},
|
||||
'docker.getTags() error'
|
||||
);
|
||||
if (err.statusCode === 406 && !repository.includes('/')) {
|
||||
logger.info('Retrying docker repository using library/ prefix');
|
||||
return getTags(registry, 'library/' + repository);
|
||||
}
|
||||
if (err.statusCode === 401) {
|
||||
logger.info(
|
||||
{ registry, dockerRepository: repository, err },
|
||||
|
|
Loading…
Reference in a new issue