fix: wrong perms (#726)

if someone is using image with a non-root user, they will get a permission denied since only root has write perms
This commit is contained in:
Ryan (hackercat) 2021-06-09 23:08:39 +00:00 committed by GitHub
parent 6550eb7f25
commit 2261204c65
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -159,11 +159,11 @@ func (rc *RunContext) startJobContainer() common.Executor {
Body: rc.EventJSON, Body: rc.EventJSON,
}, &container.FileEntry{ }, &container.FileEntry{
Name: "workflow/envs.txt", Name: "workflow/envs.txt",
Mode: 0644, Mode: 0666,
Body: "", Body: "",
}, &container.FileEntry{ }, &container.FileEntry{
Name: "workflow/paths.txt", Name: "workflow/paths.txt",
Mode: 0644, Mode: 0666,
Body: "", Body: "",
}), }),
)(ctx) )(ctx)