diff --git a/src/index.ts b/src/index.ts index 0d72239..f80c510 100644 --- a/src/index.ts +++ b/src/index.ts @@ -88,6 +88,7 @@ async function deployStack(deploymentId: string): Promise { port: 8080, healthCheckTimeout: 180000, healthCheckInterval: 5000, + registryId: process.env.STACK_REGISTRY_ID, }); // Final update with logs diff --git a/src/orchestrator/production-deployer.ts b/src/orchestrator/production-deployer.ts index 0b40728..3d80ce8 100644 --- a/src/orchestrator/production-deployer.ts +++ b/src/orchestrator/production-deployer.ts @@ -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;