From b2d0e4f109ea9d434942cbf52671bb049cad2139 Mon Sep 17 00:00:00 2001 From: Alex Butler Date: Sun, 1 Dec 2024 18:05:47 +0000 Subject: [PATCH] Add nopasswd rules for aurutils chroot setup (#104) * Add nopasswd rules for aurutils chroot setup * Build docker images on tags only 5 --- .github/workflows/build.yml | 2 -- aur | 2 +- conf/50_aurto_passwordless | 2 ++ 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1b8fa36..5b95be0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -2,9 +2,7 @@ name: Create and Publish a Docker image on: push: - branches: [main] tags: ["*"] - if: "startsWith(github.ref, 'refs/tags/')" env: REGISTRY: ghcr.io diff --git a/aur b/aur index 33f8a49..32ee824 160000 --- a/aur +++ b/aur @@ -1 +1 @@ -Subproject commit 33f8a498043f27a811115b47db7a69a5f118949d +Subproject commit 32ee8243497793c310fd45b5b289e1e9c3d44350 diff --git a/conf/50_aurto_passwordless b/conf/50_aurto_passwordless index c9e56c5..6108bab 100644 --- a/conf/50_aurto_passwordless +++ b/conf/50_aurto_passwordless @@ -1,3 +1,5 @@ %wheel ALL=(ALL) NOPASSWD: /usr/bin/arch-nspawn %wheel ALL=(ALL) NOPASSWD: /usr/bin/pacsync aurto %wheel ALL=(ALL) NOPASSWD:SETENV: /usr/bin/makechrootpkg +%wheel ALL=(ALL) NOPASSWD: /usr/bin/install -d /var/lib/aurbuild/x86_64 -m 755 -v +%wheel ALL=(ALL) NOPASSWD:SETENV: /usr/bin/mkarchroot -C /etc/aurto/pacman-chroot.conf -M /etc/aurto/makepkg-chroot.conf /var/lib/aurbuild/x86_64/root base-devel multilib-devel