diff --git a/.drone.yml b/.drone.yml index 5998228..04da447 100644 --- a/.drone.yml +++ b/.drone.yml @@ -7,13 +7,9 @@ steps: commands: - find usr/local/bin -type f -exec echo Testing {} \; -exec shellcheck {} \; - name: build arch package - image: archlinux/archlinux:base-devel + image: whynothugo/makepkg + environment: + SYNC_DATABASE: 1 commands: - - pacman -Syu - - mkdir /home/build - - cp -r /drone/src/_pkg /home/build - - chgrp nobody /home/build - - chmod g+ws /home/build - - setfacl -m u::rwx,g::rwx /home/build - - setfacl -d --set u::rwx,g::rwx,o::- /home/build - - sudo -u nobody makepkg -cs + - cd _pkg + - makepkg -cs