Add --no-cache to Docker build to prevent cached builds

This commit is contained in:
mani
2026-01-08 01:53:49 +01:00
parent b5d66901e1
commit 6b1b63c014

View File

@@ -47,6 +47,7 @@ ssh -A root@${TRUENAS_HOST} "cd ${BUILD_DIR} && \
# Build Docker image on TrueNAS
echo "Building Docker image on TrueNAS..."
ssh -A root@${TRUENAS_HOST} "cd ${BUILD_DIR} && docker build \
--no-cache \
--build-arg DOTNET_VERSION=9.0 \
--build-arg PACKAGE_ARCH=amd64 \
--build-arg DOTNET_ARCH=x64 \