mirror of
https://code.forgejo.org/forgejo/runner.git
synced 2025-08-11 17:50:58 +00:00
fix file permission for non root user docker image (#334)
This commit is contained in:
parent
148d159f73
commit
7f17e0a9f4
4 changed files with 14 additions and 3 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue