fix: add registryId for private container registry authentication
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user