fix: new logging for deployment jobs

fix: git based docker compose files
This commit is contained in:
Andras Bacsai committed 2023-11-27 11:54:55 +01:00
1 parent fae97e4dee
commit 8d86d53292
21 files changed
+247 -168

No files matched your search

+15
View File
@@ -274,3 +274,18 @@ function generateLabelsApplication(Application $application, ?ApplicationPreview
}
return $labels->all();
}
function isDatabaseImage(string $image)
{
$image = str($image);
if ($image->contains(':')) {
$image = str($image);
} else {
$image = str($image)->append(':latest');
}
$imageName = $image->before(':');
if (collect(DATABASE_DOCKER_IMAGES)->contains($imageName)) {
return true;
}
return false;
}