修改代理设置下载docker compose
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user