Skip to content
Snippets Groups Projects
Commit 95b44d77 authored by Rhys Arkins's avatar Rhys Arkins
Browse files

fix(gomod): CGO_ENABLED=0

parent 5533d371
No related branches found
No related tags found
No related merge requests found
...@@ -58,6 +58,7 @@ async function getArtifacts( ...@@ -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 {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment