Skip to content

Commit 62746e4

Browse files
committed
Use builder user only for the makepkg command
1 parent 071ac2a commit 62746e4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/ci.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ jobs:
55
makepkg:
66
runs-on: ubuntu-22.04
77
container:
8-
image: rnestler/archlinux-rust
9-
options: --user 1001
8+
image: rnestler/archlinux-rust:add-a-builder-user
109
steps:
11-
- run: sudo pacman -Syu
10+
- run: pacman -Syu
1211
- uses: actions/checkout@v3
13-
- run: makepkg --nobuild
12+
- run: chown --recursive builder .
13+
- run: sudo --user=builder makepkg --nobuild

0 commit comments

Comments
 (0)