mirror of
https://github.com/ershisan99/coolify.git
synced 2026-01-22 12:34:26 +00:00
fixes
This commit is contained in:
@@ -480,9 +480,7 @@ export async function restartApplication(request: FastifyRequest<RestartApplicat
|
||||
});
|
||||
}
|
||||
const { workdir } = await createDirectories({ repository, buildId });
|
||||
const labels = [
|
||||
`coolify.managed=true`,
|
||||
]
|
||||
const labels = []
|
||||
let image = null
|
||||
if (imageId) {
|
||||
image = imageId
|
||||
@@ -499,8 +497,11 @@ export async function restartApplication(request: FastifyRequest<RestartApplicat
|
||||
})
|
||||
}
|
||||
}
|
||||
const { url, username, password } = dockerRegistry
|
||||
location = await saveDockerRegistryCredentials({ url, username, password, workdir })
|
||||
if (dockerRegistry) {
|
||||
const { url, username, password } = dockerRegistry
|
||||
location = await saveDockerRegistryCredentials({ url, username, password, workdir })
|
||||
}
|
||||
|
||||
let imageFoundLocally = false;
|
||||
try {
|
||||
await executeDockerCmd({
|
||||
|
||||
Reference in New Issue
Block a user