From c6d0c8637ee24edda8c14b29db88a3082a774011 Mon Sep 17 00:00:00 2001 From: justme Date: Wed, 21 Oct 2026 13:54:17 +0800 Subject: [PATCH] ci: mount the NuGet cache in Agent restore stages [CI] --- ci/restore-linux-dependencies.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/ci/restore-linux-dependencies.sh b/ci/restore-linux-dependencies.sh index 22bcb63..77e0b37 100644 --- a/ci/restore-linux-dependencies.sh +++ b/ci/restore-linux-dependencies.sh @@ -140,6 +140,7 @@ PY python3 "$root/ci/stage-node-image.py" agent "$rid" "$context" echo "restoring Agent dependencies for $rid" python3 "$root/ci/run-with-timeout.py" 1800 buildah bud --layers --force-rm --network host --tls-verify=true --arch amd64 \ + --volume "$NUGET_PACKAGES:/root/.nuget/packages:z" \ --build-arg "NATIVEAOT_BUILDER_IMAGE=$builder_image" \ --build-arg "NODE_RID=$rid" --build-arg "STATIC_MSQUIC=$static_msquic" \ -f "$root/packaging/container/Agent.Restore.Containerfile" \