We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6202130 commit 2eae336Copy full SHA for 2eae336
1 file changed
apps/webapp/app/v3/getDeploymentImageRef.server.ts
@@ -149,7 +149,12 @@ export async function getDeploymentImageRef({
149
}
150
151
export function isEcrRegistry(registryHost: string) {
152
- return registryHost.includes("amazonaws.com");
+ try {
153
+ parseEcrRegistryDomain(registryHost);
154
+ return true;
155
+ } catch {
156
+ return false;
157
+ }
158
159
160
function parseRegistryTags(tags: string): Tag[] {
0 commit comments