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
f53312b71c
commit
29a75ff935
@ -6,10 +6,6 @@ services:
|
|||||||
|
|
||||||
build:package:
|
build:package:
|
||||||
stage: compile
|
stage: compile
|
||||||
image: archlinux/base
|
image: registry.higherlearning.eu/personal/homelab/docker/arch-pkg-build
|
||||||
script:
|
script:
|
||||||
- pacman -Sy --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'
|
- sudo -u builduser 'bash -c makepkg -s'
|
Loading…
Reference in New Issue
Block a user