修改代理设置下载docker compose

This commit is contained in:
JupiterFeng
2024-08-29 09:22:43 +00:00
parent 991045b0e3
commit b0f9213f51

View File

@@ -24,7 +24,7 @@ async function installOnLinux(version: string): Promise<string> {
if (!version.startsWith('v') && parseInt(version.split('.')[0], 10) >= 2) {
version = `v${version}`
}
const url = `https://github.com/docker/compose/releases/download/${version}/docker-compose-${await system}-${await hardware}`
const url = `https://gh.api.99988866.xyz/https://github.com/docker/compose/releases/download/${version}/docker-compose-${await system}-${await hardware}`
const installerPath = await downloadTool(url)
await exec(`chmod +x ${installerPath}`)
const cachedPath = await cacheFile(