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.
This commit is contained in:
db123-test
2026-05-04 14:49:43 +03:30
parent fc31ca3d86
commit 0d3a108dab

View File

@@ -70,7 +70,7 @@ jobs:
--platform linux/amd64 \ --platform linux/amd64 \
--tag "git.yejayekhoob.com/db123/auth-proxy:${{ github.sha }}" \ --tag "git.yejayekhoob.com/db123/auth-proxy:${{ github.sha }}" \
--tag "git.yejayekhoob.com/db123/auth-proxy:latest" \ --tag "git.yejayekhoob.com/db123/auth-proxy:latest" \
--cache-from=type=registry,ref=git.yejayekhoob.com/db123/auth-proxy:cache \ --cache-from=type=local,dest=/tmp/.buildx-cache \
--cache-to=type=registry,ref=git.yejayekhoob.com/db123/auth-proxy:cache,mode=max \ --cache-to=type=local,dest=/tmp/.buildx-cache \
--push \ --push \
. .