From 0ea1e04bb97edc8f759bf377ec44c595106cb711 Mon Sep 17 00:00:00 2001 From: Emiliano Vavassori Date: Sat, 8 Feb 2025 21:58:45 +0100 Subject: [PATCH] Long renewing image. --- .gitea/workflows/build-publish.yml | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/build-publish.yml b/.gitea/workflows/build-publish.yml index 97d89b6..2a12286 100644 --- a/.gitea/workflows/build-publish.yml +++ b/.gitea/workflows/build-publish.yml @@ -10,11 +10,21 @@ jobs: - name: Fix permissions run: /fixperms.sh - name: Refresh packages - run: /paruw.sh "paru -Syy" - - name: Refresh keys - run: /paruw.sh "paru -S --noconfirm archlinux-keyring" + run: pacman -Syy + - name: Installing packaged keyring + run: /paruw.sh "paru -S archlinux-keyring" + - name: Create master keyring + run: pacman-key --init --allow-weak-key-signatures + - name: Populate master keyring + run: pacman-key --populate archlinux --allow-weak-key-signatures - name: Hard refresh keys - run: pacman-key --refresh-keys + run: pacman-key --refresh-keys --allow-weak-key-signatures + - name: Installing rankmirrors + run: /paruw.sh "paru -S --noconfirm pacman-contrib pacman-mirrorlist" + - name: Renew mirrors choice + run: rankmirror -n 5 /etc/pacman.d/mirrorlist + - name: Ri-refreshing packages + run: /paruw.sh "paru -Syy" - name: Compile package run: /paruw.sh "paru -Bi --noconfirm ${{ gitea.workspace }}" - name: Setup go for publishing