mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-12 23:16:26 +00:00
fix(gomod): CGO_ENABLED=0
This commit is contained in:
parent
5533d371c5
commit
95b44d773d
1 changed files with 1 additions and 0 deletions
|
@ -58,6 +58,7 @@ async function getArtifacts(
|
||||||
cmd += volumes.map(v => `-v ${v}:${v} `).join('');
|
cmd += volumes.map(v => `-v ${v}:${v} `).join('');
|
||||||
const envVars = ['GOPATH'];
|
const envVars = ['GOPATH'];
|
||||||
cmd += envVars.map(e => `-e ${e} `);
|
cmd += envVars.map(e => `-e ${e} `);
|
||||||
|
cmd += '-e CGO_ENABLED=0 ';
|
||||||
cmd += `-w ${cwd} `;
|
cmd += `-w ${cwd} `;
|
||||||
cmd += `renovate/go go`;
|
cmd += `renovate/go go`;
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue