Simplify and solve cache issue

This commit is contained in:
Ryan Hughes committed 2025-10-30 00:36:19 -04:00
1 parent 724e083a28
commit dacf0cd9a4
2 files changed
+6 -34

No files matched your search

-5
View File
@@ -103,11 +103,6 @@ DOCKER_ARGS=(
-v "$BUILD_ROOT/pkgbuilds:/pkgbuilds:ro"
)
# Use local pacman cache if you already have one on host to speed up repeat runs
if [ -d "/var/cache/pacman/pkg" ]; then
DOCKER_ARGS+=(-v "/var/cache/pacman/pkg:/var/cache/pacman/pkg")
fi
# Run the builder with assembled args
IMAGE_TAG="omarchy-pkg-builder:latest-$ARCH"
PLATFORM_ARG=$(get_platform_arg "$ARCH")