Skip to content

Commit

Permalink
Merge pull request #8 from yashodgayashan/choreo-login
Browse files Browse the repository at this point in the history
Accept docker login for choreo-docker-hub
  • Loading branch information
yashodgayashan committed Jul 2, 2024
2 parents 33a4342 + 639070f commit 5220937
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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") {
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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") {
Expand Down

0 comments on commit 5220937

Please sign in to comment.