revert Fix file ownership issues for self-hosted runners. (#141) (#165)

This commit is contained in:
Kai Biermeier
2020-10-22 09:20:12 +01:00
committed by GitHub
parent ef74241772
commit e6d3daedbe
5 changed files with 4 additions and 30 deletions

View File

@@ -16,13 +16,7 @@ async function action() {
} else {
// Build docker image
// TODO: No image required (instead use a version published to dockerhub for the action, supply credentials for github cloning)
const builtImage = await Docker.build({
path: actionFolder,
dockerfile,
baseImage,
uid: buildParameters.uid,
gid: buildParameters.gid,
});
const builtImage = await Docker.build({ path: actionFolder, dockerfile, baseImage });
await Docker.run(builtImage, { workspace, ...buildParameters });
}