Skip to content

Commit 68dbc7a

Browse files
authored
Merge pull request #1547 from devtron-labs/fix-container-registry-list
fix: missing GCR list in Registry Providers
2 parents 954ee88 + aba8f7e commit 68dbc7a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/components/dockerRegistry/Docker.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1511,8 +1511,10 @@ function DockerForm({
15111511
)}
15121512
</>
15131513
)
1514-
}}
1515-
const EA_MODE_REGISTRY_TYPE_MAP = REGISTRY_TYPE_MAP
1514+
}
1515+
}
1516+
// For EA Mode GCR is not available as it is not OCI compliant
1517+
const EA_MODE_REGISTRY_TYPE_MAP = JSON.parse(JSON.stringify(REGISTRY_TYPE_MAP))
15161518
delete EA_MODE_REGISTRY_TYPE_MAP['gcr']
15171519
return (
15181520
<form onSubmit={handleOnSubmit} className="docker-form divider" autoComplete="off">

0 commit comments

Comments
 (0)