diff --git a/main.js b/main.js index a64c2c3..0c3cefa 100644 --- a/main.js +++ b/main.js @@ -159,6 +159,14 @@ async function main() { ]) core.endGroup() + core.startGroup("Trust this git repo") + await exec.exec("docker", [ + "exec", + container, + "git", "config", "--global", "--add", "safe.directory", sourceDirectory + ]) + core.endGroup() + if (imageTag != "trusty") { core.startGroup("Install build dependencies") await exec.exec("docker", [