Skip to content

Commit c667bdd

Browse files
committed
fix
1 parent e1bb080 commit c667bdd

2 files changed

Lines changed: 9 additions & 6 deletions

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ jobs:
8787
oci: true
8888
extra-args: |
8989
--security-opt=seccomp=unconfined
90+
--squash
9091
9192
- name: Push to private registry
9293
uses: redhat-actions/push-to-registry@v2

setup.sh

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
#!/bin/bash
22

3+
set -ouex pipefail
4+
35
sed -i 's@#pl_PL.UTF-8@pl_PL.UTF-8@g' /etc/locale.gen
46
locale-gen
57

6-
sed -i '1s/^/Server = https://ftp.icm.edu.pl/pub/Linux/dist/archlinux/$repo/os/$arch\n/' /etc/pacman.d/mirrorlist
7-
sed -i '1s/^/Server = https://ftp.psnc.pl/linux/archlinux/$repo/os/$arch\n/' /etc/pacman.d/mirrorlist
8+
sed -i '1s|^|Server = https://ftp.icm.edu.pl/pub/Linux/dist/archlinux/$repo/os/$arch\n|' /etc/pacman.d/mirrorlist
9+
sed -i '1s|^|Server = https://ftp.psnc.pl/linux/archlinux/$repo/os/$arch\n|' /etc/pacman.d/mirrorlist
810
echo 'Server = https://archive.archlinux.org/.all' >> /etc/pacman.d/mirrorlist
911

1012
pacman-key --init
@@ -14,7 +16,7 @@ pacman-key --populate
1416
pacman-key --recv-keys B1F96021DB62254D
1517
pacman-key --finger B1F96021DB62254D
1618
pacman-key --lsign-key B1F96021DB62254D
17-
tee -a /etc/pacman.conf <<<'EOF'
19+
tee -a /etc/pacman.conf <<'EOF'
1820
[bioarchlinux]
1921
Server = https://repo.bioarchlinux.org/$arch
2022
EOF
@@ -24,7 +26,7 @@ pacman-key --recv-key 3056513887B78AEB --keyserver keyserver.ubuntu.com
2426
pacman-key --lsign-key 3056513887B78AEB
2527
pacman -U 'https://cdn-mirror.chaotic.cx/chaotic-aur/chaotic-keyring.pkg.tar.zst'
2628
pacman -U 'https://cdn-mirror.chaotic.cx/chaotic-aur/chaotic-mirrorlist.pkg.tar.zst'
27-
tee -a /etc/pacman.conf <<<'EOF'
29+
tee -a /etc/pacman.conf <<'EOF'
2830
[chaotic-aur]
2931
Include = /etc/pacman.d/chaotic-mirrorlist
3032
EOF
@@ -34,11 +36,11 @@ pacman-key --recv-keys 7931B6D628C8D3BA
3436
pacman-key --finger 7931B6D628C8D3BA
3537
pacman-key --lsign-key 7931B6D628C8D3BA
3638
curl --retry 3 -sSLo /etc/pacman.d/mirrorlist.arch4edu https://raw.githubusercontent.com/arch4edu/mirrorlist/refs/heads/master/mirrorlist.arch4edu
37-
tee -a /etc/pacman.conf <<<'EOF'
39+
tee -a /etc/pacman.conf <<'EOF'
3840
[arch4edu]
3941
Include = /etc/pacman.d/mirrorlist.arch4edu
4042
EOF
4143

4244
pacman -Syu --noconfirm bioarchlinux-keyring arch4edu-keyring mirrorlist.arch4edu pkgstats
43-
pacman -Scc
45+
pacman -Scc --noconfirm
4446
rm -rf /var/cache/pacman/pkg/*

0 commit comments

Comments
 (0)