From a2b992dfd1e55ca338b6794da5df19ff5602b63d Mon Sep 17 00:00:00 2001 From: mauwii Date: Thu, 9 Feb 2023 01:25:32 +0100 Subject: [PATCH] always cache-to main --- .github/workflows/build-container.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-container.yml b/.github/workflows/build-container.yml index 60aaf4780d..17f689ec16 100644 --- a/.github/workflows/build-container.yml +++ b/.github/workflows/build-container.yml @@ -90,7 +90,7 @@ jobs: cache-from: | type=gha,scope=${{ github.ref_name }}-${{ matrix.flavor }} type=gha,scope=main-${{ matrix.flavor }} - cache-to: type=gha,mode=max,scope=${{ github.ref_name }}-${{ matrix.flavor }} + cache-to: type=gha,mode=max,scope=main-${{ matrix.flavor }} - name: Docker Hub Description if: github.ref == 'refs/heads/main' || github.ref == 'refs/tags/*' && vars.DOCKERHUB_REPOSITORY != ''