mirror of
https://github.com/alrayyes/st.git
synced 2024-11-25 04:16:23 +00:00
Update .gitlab-ci.yml
This commit is contained in:
parent
d3476ced66
commit
c0225e0bc1
1 changed files with 5 additions and 1 deletions
|
@ -8,4 +8,8 @@ build:package:
|
||||||
stage: compile
|
stage: compile
|
||||||
image: archlinux/base
|
image: archlinux/base
|
||||||
script:
|
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 a new issue