mirror of
https://github.com/alrayyes/st
synced 2023-11-14 15:56:30 +00:00
Update .gitlab-ci.yml
This commit is contained in:
parent
d3476ced66
commit
c0225e0bc1
@ -8,4 +8,8 @@ build:package:
|
||||
stage: compile
|
||||
image: archlinux/base
|
||||
script:
|
||||
- makepkg -si
|
||||
- pacman -S --needed --noconfirm sudo # Install sudo
|
||||
- useradd builduser -m # Create the builduser
|
||||
- passwd -d builduser # Delete the buildusers password
|
||||
- printf 'builduser ALL=(ALL) ALL\n' | tee -a /etc/sudoers # Allow the builduser passwordless sudo
|
||||
- sudo -u builduser 'bash -c makepkg -s'
|
Loading…
Reference in New Issue
Block a user