fix(deploy): 支持 full-themes 六合一包部署并统一 shell 脚本 LF 换行
This commit is contained in:
@@ -172,6 +172,7 @@ function Invoke-PlayerThemeBuild {
|
||||
Write-Host "[INFO] Switched to $Branch"
|
||||
|
||||
Set-Location $Root
|
||||
$env:PLAYER_IMAGE_TAG = $Tag
|
||||
if ((Invoke-BuildExport -Service "player" -Tag $Tag) -ne 0) {
|
||||
Write-Host "[ERROR] Player build failed for $Branch"
|
||||
$script:FailedThemes.Add($Branch) | Out-Null
|
||||
|
||||
@@ -131,6 +131,8 @@ goto do_export
|
||||
:do_build
|
||||
echo ==^> Building %SERVICE% (tag: %TAG%)
|
||||
set "IMAGE_TAG=%TAG%"
|
||||
REM player 在 compose 里默认 PLAYER_IMAGE_TAG=main;与 --tag 对齐以便导出/部署
|
||||
set "PLAYER_IMAGE_TAG=%TAG%"
|
||||
if "%NO_CACHE%"=="1" goto build_no_cache
|
||||
if /i "%SERVICE%"=="all" (
|
||||
docker compose -f "%COMPOSE_FILE%" --env-file "%ENV_FILE%" build api player admin
|
||||
|
||||
Reference in New Issue
Block a user