Patch act to not bind the workdir as we do it using --container-options
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2023-07-31 12:21:39 +02:00
parent c8c002ab01
commit 7bae512b01
3 changed files with 21 additions and 5 deletions

View File

@@ -71,6 +71,7 @@ func (p Plugin) Exec() error {
secretFile,
"--env-file",
envFile,
"-b",
"--detect-event",
}
@@ -106,11 +107,7 @@ func (p Plugin) Exec() error {
bindModifiers = ":z"
}
cmdArgs = append(cmdArgs, "--container-options", fmt.Sprintf("--volume=%s:%s%s", hostWorkDirPath, guestWorkDirPath, bindModifiers))
}// else {
cmdArgs = append(cmdArgs, "-b")
//}
}
cmd := exec.Command("act", cmdArgs...)
cmd.Stdout = os.Stdout