use custom docker image

This commit is contained in:
2026-04-26 09:20:50 +01:00
parent 46130d7769
commit 6f255daaed
+1 -15
View File
@@ -9,24 +9,12 @@ jobs:
build:
runs-on: ubuntu-latest
container:
image: archlinux
image: git.azur.webhop.me/azur/arch-builder:latest
options: --privileged
permissions:
packages: write
contents: write
steps:
- name: Cache Pacman Data
uses: actions/cache@v4
with:
path: |
/var/cache/pacman/pkg
/var/lib/pacman/sync
key: pacman-cache-${{ github.run_id }}
restore-keys: |
pacman-cache-
- name: Update packages
run: |
pacman -Syu --noconfirm --noprogressbar --needed base-devel devtools btrfs-progs dbus sudo nodejs pacman-contrib
- name: Checkout repo
uses: actions/checkout@v4
with:
@@ -62,8 +50,6 @@ jobs:
if: steps.compare.outputs.build == 'true'
run: |
cd $GITHUB_WORKSPACE
useradd -m builder
echo "builder ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
chown -R builder:builder .
sudo -u builder updpkgsums
sudo -u builder makepkg -s --noconfirm