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 3840d95 commit ce85d76Copy full SHA for ce85d76
apps/webapp/app/v3/services/finalizeDeploymentV2.server.ts
@@ -86,7 +86,11 @@ export class FinalizeDeploymentV2Service extends BaseService {
86
const isV4Deployment = deployment.type === "MANAGED";
87
const registryConfig = getRegistryConfig(isV4Deployment);
88
89
- if (!registryConfig.host || !registryConfig.username || !registryConfig.password) {
+ // For non-ECR registries, username and password are required upfront
90
+ if (
91
+ !isEcrRegistry(registryConfig.host) &&
92
+ (!registryConfig.username || !registryConfig.password)
93
+ ) {
94
throw new ServiceValidationError("Missing deployment registry credentials");
95
}
96
0 commit comments