From 679550b262eed23d0c591a35241eaff8d9f8b560 Mon Sep 17 00:00:00 2001 From: lesh Date: Fri, 27 Jun 2025 21:24:47 -0700 Subject: [PATCH] docker build shares the cache --- .github/workflows/_docker-build-template.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/_docker-build-template.yml b/.github/workflows/_docker-build-template.yml index dd4f3eab66..48daabe22e 100644 --- a/.github/workflows/_docker-build-template.yml +++ b/.github/workflows/_docker-build-template.yml @@ -59,6 +59,8 @@ jobs: context: ${{ inputs.context }} file: docker/${{ inputs.dockerfile }}/Dockerfile tags: ${{ inputs.to-image }} - cache-from: type=gha,scope=${{ inputs.dockerfile }}-${{ inputs.from-image }} - cache-to: type=gha,mode=max,scope=${{ inputs.dockerfile }}-${{ inputs.from-image }} + cache-from: type=gha,scope=${{ inputs.dockerfile }} + cache-to: type=gha,mode=max,scope=${{ inputs.dockerfile }} + #cache-from: type=gha,scope=${{ inputs.dockerfile }}-${{ inputs.from-image }} + #cache-to: type=gha,mode=max,scope=${{ inputs.dockerfile }}-${{ inputs.from-image }} build-args: FROM_IMAGE=${{ inputs.from-image }}