diff --git a/dist/index.js b/dist/index.js index 753bd36..486ae89 100644 --- a/dist/index.js +++ b/dist/index.js @@ -3416,7 +3416,7 @@ async function login() { ); let data = JSON.parse(fileContents); for (const cred of data) { - if (cred?.is_cdp === undefined || cred?.is_cdp) { + if ((cred?.is_cdp === undefined || cred?.is_cdp) && cred.registry_id != "choreo-docker-hub") { continue; } if (cred.type == "ACR") { diff --git a/index.js b/index.js index 6282921..a96a904 100644 --- a/index.js +++ b/index.js @@ -57,7 +57,7 @@ async function login() { ); let data = JSON.parse(fileContents); for (const cred of data) { - if (cred?.is_cdp === undefined || cred?.is_cdp) { + if ((cred?.is_cdp === undefined || cred?.is_cdp) && cred.registry_id != "choreo-docker-hub") { continue; } if (cred.type == "ACR") {