kind: pipeline type: docker name: default steps: - name: build image: archlinux:base-devel volumes: - name: repo path: /repo commands: - echo -e '[nyyu]\nServer = https://archlinux.nyyu.dev/nyyu\nSigLevel = Never' >> /etc/pacman.conf - pacman -Syu git --noconfirm - useradd build -m - "echo 'build ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers" - chown -R build:build . - sudo -u build sh -c './build.sh' volumes: - name: repo host: path: /mnt/archlinux/nyyu