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
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:
@@ -184,12 +184,8 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
set -e
|
set -e
|
||||||
echo "Building on VPS (SSD)..."
|
echo "Building on VPS (SSD)..."
|
||||||
|
# Podman caches layers automatically; no --cache-from needed
|
||||||
CACHE_ARG=""
|
podman build -t nas-dashboard:latest dashboard/
|
||||||
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/
|
|
||||||
|
|
||||||
- name: Transfer image to NAS
|
- name: Transfer image to NAS
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user