Skip to content

Commit

Permalink
Build deps first
Browse files Browse the repository at this point in the history
  • Loading branch information
sixeyed committed Dec 29, 2024
1 parent f28f4b4 commit 1c8f248
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions build/build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ try {
echo "** version: $version **"
if ($version -eq '10.0.22631.0' -or $version -eq '10.0.20348.0') {
$env:WINDOWS_VERSION = $env:WINDOWS_VERSION_CODE = 'ltsc2022'
} elseif ($winver -eq '24H2') {
} elseif ($version -eq '10.0.26100.0') {
$env:WINDOWS_VERSION = $env:WINDOWS_VERSION_CODE ='ltsc2025'
}
}
$env:OS_VERSION_TAG="-$env:WINDOWS_VERSION"
}

Expand All @@ -47,6 +47,12 @@ try {
$osFile="${compose}-$($env:DOCKER_BUILD_OS).yml"
$tagsFile="${compose}-tags.yml"

# Windows dependency
if ($env:DOCKER_BUILD_OS -eq 'windows') {
docker compose -f $composeFile -f $osFile -f $tagsFile build --pull git-windows
docker compose -f $composeFile -f $osFile -f $tagsFile push git-windows
}

docker compose `
-f $composeFile `
-f $osFile `
Expand Down

0 comments on commit 1c8f248

Please sign in to comment.