diff --git a/src/lib/queues/builder.ts b/src/lib/queues/builder.ts index 6ad7e0493..fb5c80250 100644 --- a/src/lib/queues/builder.ts +++ b/src/lib/queues/builder.ts @@ -232,7 +232,7 @@ export default async function (job) { }); saveBuildLog({ line: 'Deployment started.', buildId, applicationId }); const { stderr } = await asyncExecShell( - `DOCKER_HOST=${host} docker run ${envs.join()} ${labels.join( + `DOCKER_HOST=${host} docker run ${envs.join(' ')} ${labels.join( ' ' )} --name ${imageId} --network ${docker.network} --restart always -d ${applicationId}:${tag}` );