refactor: project architecture refactor, container splitting

This commit is contained in:
3252a8
2026-05-17 00:01:28 +03:00
parent e0b5218037
commit 30fb774d93
367 changed files with 2609 additions and 864 deletions
+21
View File
@@ -0,0 +1,21 @@
$ErrorActionPreference = "Stop"
if (-not $env:IMAGE_TAG) {
throw "Set IMAGE_TAG to the release tag you want to push"
}
$imageRegistry = if ($env:IMAGE_REGISTRY) { $env:IMAGE_REGISTRY } else { "ghcr.io" }
$imageNamespace = if ($env:IMAGE_NAMESPACE) { $env:IMAGE_NAMESPACE } else { "3252a8" }
$imageTag = $env:IMAGE_TAG
$imagePrefix = if ($env:IMAGE_PREFIX) { $env:IMAGE_PREFIX } else { "remnawave-minishop" }
function Push-Image {
param([string]$Target)
$image = "$imageRegistry/$imageNamespace/$imagePrefix-$Target`:$imageTag"
Write-Host "Pushing $image" -ForegroundColor Cyan
docker push $image
}
Push-Image backend
Push-Image worker
Push-Image frontend