From d4fdebd1e56871a4a299544bbb82d646552e2f01 Mon Sep 17 00:00:00 2001 From: xiaoxia Date: Mon, 20 Jul 2026 21:10:17 +0800 Subject: [PATCH] =?UTF-8?q?perf(ci):=20P2-5=20Docker=20build=20registry?= =?UTF-8?q?=E7=BC=93=E5=AD=98=E5=85=B1=E4=BA=AB=20-=2012=E4=B8=AArunner?= =?UTF-8?q?=E5=85=B1=E7=94=A8=E7=BC=93=E5=AD=98=20(#656)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: xiaoxia Co-committed-by: xiaoxia --- scripts/ci/docker_build_push.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/ci/docker_build_push.sh b/scripts/ci/docker_build_push.sh index af4962a55..eede6459b 100755 --- a/scripts/ci/docker_build_push.sh +++ b/scripts/ci/docker_build_push.sh @@ -50,6 +50,7 @@ build_with_cache_retry() { --cache-from "type=local,src=${LOCAL_CACHE_DIR}" \ --cache-from "type=registry,ref=${CACHE_REF},ignore-error=true" \ --cache-to "type=local,dest=${LOCAL_CACHE_DIR},mode=max" \ + --cache-to "type=registry,ref=${CACHE_REF},mode=max" \ -f "${DOCKERFILE}" \ -t "${IMAGE_TAG}" \ --push \ @@ -83,6 +84,7 @@ build_with_cache_retry() { $BUILD_ARGS \ --cache-from "type=registry,ref=${CACHE_REF},ignore-error=true" \ --cache-to "type=local,dest=${LOCAL_CACHE_DIR},mode=max" \ + --cache-to "type=registry,ref=${CACHE_REF},mode=max" \ -f "${DOCKERFILE}" \ -t "${IMAGE_TAG}" \ --push \