fix: add registryId for private container registry authentication

This commit is contained in:
Oussama Douhou
2026-01-10 10:19:05 +01:00
parent 2f306f7d68
commit fe8abda7d3
2 changed files with 3 additions and 0 deletions

View File

@@ -88,6 +88,7 @@ async function deployStack(deploymentId: string): Promise<void> {
port: 8080,
healthCheckTimeout: 180000,
healthCheckInterval: 5000,
registryId: process.env.STACK_REGISTRY_ID,
});
// Final update with logs

View File

@@ -19,6 +19,7 @@ export interface DeploymentConfig {
port?: number;
healthCheckTimeout?: number;
healthCheckInterval?: number;
registryId?: string;
}
export interface DeploymentState {
@@ -276,6 +277,7 @@ export class ProductionDeployer {
await this.client.updateApplication(state.resources.applicationId, {
dockerImage: config.dockerImage,
sourceType: 'docker',
registryId: config.registryId,
});
state.progress = 55;