mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
feat: add update registry and fix the docker url markup
This commit is contained in:
@@ -89,12 +89,15 @@ export const mechanizeDockerContainer = async (
|
||||
|
||||
const registry = application.registry;
|
||||
|
||||
const image =
|
||||
sourceType === "docker"
|
||||
? dockerImage!
|
||||
: registry
|
||||
? `${registry.registryUrl}/${appName}`
|
||||
: `${appName}:latest`;
|
||||
let image = sourceType === "docker" ? dockerImage! : `${appName}:latest`;
|
||||
|
||||
if (registry) {
|
||||
image = `${registry.registryUrl}/${appName}`;
|
||||
|
||||
if (registry.imagePrefix) {
|
||||
image = `${registry.registryUrl}/${registry.imagePrefix}/${appName}`;
|
||||
}
|
||||
}
|
||||
|
||||
const settings: CreateServiceOptions = {
|
||||
authconfig: {
|
||||
|
||||
Reference in New Issue
Block a user