diff --git a/.github/workflows/_container.yml b/.github/workflows/_container.yml index ed26a4f2c..30b433755 100644 --- a/.github/workflows/_container.yml +++ b/.github/workflows/_container.yml @@ -55,6 +55,9 @@ jobs: target: runtime load: true tags: ${{ env.CPR_IMAGE }} + no-cache-filters: | + runtime-base + runtime cache-from: type=gha,scope=runtime-ci cache-to: type=gha,mode=max,scope=runtime-ci diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index cbb949687..733f8f436 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -468,6 +468,9 @@ jobs: push: true build-args: | CPR_PREBUILT_DIR=dist/docker + no-cache-filters: | + runtime-base + runtime-prebuilt cache-from: type=registry,ref=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:buildcache-${{ matrix.os }}-${{ matrix.arch }} cache-to: type=registry,ref=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:buildcache-${{ matrix.os }}-${{ matrix.arch }},mode=min provenance: mode=max