Add --no-cache to Docker build to prevent cached builds
This commit is contained in:
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user