forked from waja/action-debian-package
Merge pull request #69 from SebKuzminsky/reassure-recent-gits
tell git to trust the repo
This commit is contained in:
commit
19ce78f0f9
8
main.js
8
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", [
|
||||
|
|
Loading…
Reference in a new issue