Merge pull request #906 from omacom/ci/arch-image-from-ghcr
Pull the Arch image for tests and trackers from GHCR
This commit is contained in:
5 files changed
+5
-5
No files matched your search
@@ -68,7 +68,7 @@ jobs:
|
||||
-v "$PWD/helpers:/workspace/helpers:ro" \
|
||||
-v "$PWD/pkgbuilds:/workspace/pkgbuilds" \
|
||||
-w /workspace \
|
||||
archlinux:base-devel bash -lc '
|
||||
ghcr.io/archlinux/archlinux:base-devel bash -lc '
|
||||
set -euo pipefail
|
||||
|
||||
printf "Server = https://mirror.omarchy.org/\$repo/os/\$arch\n" > /etc/pacman.d/mirrorlist
|
||||
|
||||
@@ -55,7 +55,7 @@ jobs:
|
||||
-v "$PWD/helpers:/workspace/helpers:ro" \
|
||||
-v "$PWD/pkgbuilds:/workspace/pkgbuilds" \
|
||||
-w /workspace \
|
||||
archlinux:base-devel bash -lc '
|
||||
ghcr.io/archlinux/archlinux:base-devel bash -lc '
|
||||
set -euo pipefail
|
||||
|
||||
pacman -Syu --noconfirm git jq python libarchive
|
||||
|
||||
@@ -45,7 +45,7 @@ jobs:
|
||||
docker run --rm \
|
||||
-v "$PWD:/workspace:ro" \
|
||||
-w /workspace \
|
||||
archlinux:base-devel bash -lc '
|
||||
ghcr.io/archlinux/archlinux:base-devel bash -lc '
|
||||
set -euo pipefail
|
||||
pacman -Syu --noconfirm git jq python libarchive neovim tmux
|
||||
python tests/owe-package-restart.py
|
||||
|
||||
@@ -68,7 +68,7 @@ jobs:
|
||||
-v "$PWD/helpers:/workspace/helpers:ro" \
|
||||
-v "$PWD/pkgbuilds:/workspace/pkgbuilds" \
|
||||
-w /workspace \
|
||||
archlinux:base-devel bash -lc '
|
||||
ghcr.io/archlinux/archlinux:base-devel bash -lc '
|
||||
set -euo pipefail
|
||||
|
||||
pacman -Syu --noconfirm git jq python libarchive
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# Only the build runner is under test; source-free fixtures need no Omarchy
|
||||
# bootstrap, signing key, mirror, or production repository.
|
||||
FROM archlinux:base-devel
|
||||
FROM ghcr.io/archlinux/archlinux:base-devel
|
||||
RUN pacman -Syu --noconfirm git jq sudo && \
|
||||
useradd -m -u 1000 builder && \
|
||||
echo 'builder ALL=(ALL) NOPASSWD: ALL' > /etc/sudoers.d/builder && \
|
||||
|
||||
Reference in new issue
Block a user