fix(ci): remove --cache-from flag - Podman caches layers automatically
Deploy Dashboard (Main) / Frontend Tests (push) Successful in 50s
Deploy Dashboard (Main) / Backend Tests (push) Failing after 23m28s
Deploy Dashboard (Main) / Build Docker Image (push) Has been skipped
Deploy Dashboard (Main) / Deploy to Production (push) Failing after 14m58s

This commit is contained in:
Gan, Jimmy
2026-06-04 17:52:26 +08:00
parent 3c5ec3cdd2
commit ab44c2956e
+2 -6
View File
@@ -184,12 +184,8 @@ jobs:
run: |
set -e
echo "Building on VPS (SSD)..."
CACHE_ARG=""
if podman image exists nas-dashboard:latest 2>/dev/null; then
CACHE_ARG="--cache-from nas-dashboard:latest"
fi
podman build $CACHE_ARG -t nas-dashboard:latest dashboard/
# Podman caches layers automatically; no --cache-from needed
podman build -t nas-dashboard:latest dashboard/
- name: Transfer image to NAS
run: |