diff --git a/lib/datasource/docker.js b/lib/datasource/docker.js index 3ea57311d792e5d49e164e0fe4be2cded181bba1..f75338b1ff54453d38523575d26f3e695b8efab1 100644 --- a/lib/datasource/docker.js +++ b/lib/datasource/docker.js @@ -112,7 +112,8 @@ async function getDigest(config, newValue) { newTag += `-${tagSuffix}`; } try { - const url = `${massagedRegistry}/v2/${repository}/manifests/${newTag}`; + const url = `${massagedRegistry}/v2/${repository}/manifests/${newTag || + 'latest'}`; const cacheNamespace = 'datasource-docker-digest'; const cachedResult = await renovateCache.get(cacheNamespace, url); if (cachedResult) {