From efcc5eafdfd7315965d4c8cd92c6c551078d8770 Mon Sep 17 00:00:00 2001 From: xiaoxia Date: Mon, 20 Jul 2026 22:25:37 +0800 Subject: [PATCH] =?UTF-8?q?fix(ci):=20registry=20cache-to=E5=8A=A0ignore-e?= =?UTF-8?q?rror=EF=BC=8C=E9=81=BF=E5=85=8DACR=20tag=E4=B8=8D=E5=8F=AF?= =?UTF-8?q?=E5=8F=98=E5=AF=BC=E8=87=B4build=E5=A4=B1=E8=B4=A5=20(#660)?= 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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/ci/docker_build_push.sh b/scripts/ci/docker_build_push.sh index eede6459b..711aeb09a 100755 --- a/scripts/ci/docker_build_push.sh +++ b/scripts/ci/docker_build_push.sh @@ -50,7 +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" \ + --cache-to "type=registry,ref=${CACHE_REF},mode=max,ignore-error=true" \ -f "${DOCKERFILE}" \ -t "${IMAGE_TAG}" \ --push \ @@ -84,7 +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" \ + --cache-to "type=registry,ref=${CACHE_REF},mode=max,ignore-error=true" \ -f "${DOCKERFILE}" \ -t "${IMAGE_TAG}" \ --push \