From 0d3a108dab0916a6bfd703189c3588c6b608e868 Mon Sep 17 00:00:00 2001 From: db123-test Date: Mon, 4 May 2026 14:49:43 +0330 Subject: [PATCH] chore(ci): switch Docker build cache from registry to local Use local caching for Docker builds in CI pipeline to simplify configuration and improve build performance by storing cache in /tmp/.buildx-cache instead of pushing to registry. --- .github/workflows/ci-cd.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index aeca32b..a4c5db5 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -70,7 +70,7 @@ jobs: --platform linux/amd64 \ --tag "git.yejayekhoob.com/db123/auth-proxy:${{ github.sha }}" \ --tag "git.yejayekhoob.com/db123/auth-proxy:latest" \ - --cache-from=type=registry,ref=git.yejayekhoob.com/db123/auth-proxy:cache \ - --cache-to=type=registry,ref=git.yejayekhoob.com/db123/auth-proxy:cache,mode=max \ + --cache-from=type=local,dest=/tmp/.buildx-cache \ + --cache-to=type=local,dest=/tmp/.buildx-cache \ --push \ .