Skip to content

Commit 2f9787a

Browse files
committed
Only change owners of the needed directories
Looks like when the whole /github directory owner is changed, then the next job in the pipeline fails because of the wrong permissions.
1 parent e2b1f56 commit 2f9787a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

entrypoint.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ command=$3
66

77
# '/github/workspace' is mounted as a volume and has owner set to root
88
# set the owner to the 'build' user, so it can access package files
9-
sudo chown -R build /github
9+
sudo chown -R build /github/workspace /github/home
1010

1111
# assumes that package files are in a subdirectory
1212
# of the same name as "pkgname", so this works well

0 commit comments

Comments
 (0)