From fe8abda7d3dafaff6dfed94bd67b14156a52d028 Mon Sep 17 00:00:00 2001 From: Oussama Douhou Date: Sat, 10 Jan 2026 10:19:05 +0100 Subject: [PATCH] fix: add registryId for private container registry authentication --- src/index.ts | 1 + src/orchestrator/production-deployer.ts | 2 ++ 2 files changed, 3 insertions(+) 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;