Skip to content

Commit

Permalink
[Windows] pin docker compose version (actions#9174)
Browse files Browse the repository at this point in the history
  • Loading branch information
sergei-pyshnoi authored Jan 16, 2024
1 parent c40e9d7 commit f046bca
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion images/windows/scripts/build/Install-DockerCompose.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ $versionToInstall = Resolve-ChocoPackageVersion -PackageName "docker-compose" -T
Install-ChocoPackage docker-compose -ArgumentList "--version=$versionToInstall"

Write-Host "Install-Package Docker-Compose v2"
$dockerComposev2Url = "https://github.com/docker/compose/releases/latest/download/docker-compose-windows-x86_64.exe"
# Temporaty pinned to v2.23.3 due https://github.com/actions/runner-images/issues/9172
$dockerComposev2Url = "https://github.com/docker/compose/releases/download/v2.23.3/docker-compose-windows-x86_64.exe"
$cliPluginsDir = "C:\ProgramData\docker\cli-plugins"
New-Item -Path $cliPluginsDir -ItemType Directory
Invoke-DownloadWithRetry -Url $dockerComposev2Url -Path "$cliPluginsDir\docker-compose.exe"
Expand Down

0 comments on commit f046bca

Please sign in to comment.