1
0
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:
Ryan 2019-06-12 15:18:39 +00:00
parent f53312b71c
commit 29a75ff935

View File

@ -6,10 +6,6 @@ services:
build:package:
stage: compile
image: archlinux/base
image: registry.higherlearning.eu/personal/homelab/docker/arch-pkg-build
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'