fix file permission for non root user docker image (#334)

This commit is contained in:
watiko authored and GitHub committed 2020-08-08 13:31:26 -07:00
1 parent 17c7ecead2
commit 26e4270e41
4 files changed
+14 -3

No files matched your search

+2 -2
View File
@@ -122,11 +122,11 @@ func (rc *RunContext) startJobContainer() common.Executor {
rc.JobContainer.CopyDir(copyToPath, rc.Config.Workdir+"/.").IfBool(copyWorkspace),
rc.JobContainer.Copy("/github/", &container.FileEntry{
Name: "workflow/event.json",
Mode: 644,
Mode: 0644,
Body: rc.EventJSON,
}, &container.FileEntry{
Name: "home/.act",
Mode: 644,
Mode: 0644,
Body: "",
}),
)(ctx)