From 43dc36860cfda82322c882574cddafed1236ff67 Mon Sep 17 00:00:00 2001 From: Marco Ferrari Date: Wed, 20 Dec 2023 16:39:19 +0100 Subject: [PATCH] ci: fix build cache in the cd workflow (#5032) --- .github/workflows/cd.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 27dabf8a..2d3ae9d0 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -82,7 +82,7 @@ jobs: BUILD_DATE=${{ env.BUILD_DATE }} BUILD_REVISION=${{ env.BUILD_REVISION }} BUILD_VERSION=${{ env.BUILD_VERSION }} - cache-from: type=registry,ref=${{ env.CONTAINER_IMAGE_ID }} + cache-from: type=registry,ref=${{ env.CONTAINER_IMAGE_ID }}-buildcache load: true push: false secrets: | @@ -118,7 +118,7 @@ jobs: BUILD_DATE=${{ env.BUILD_DATE }} BUILD_REVISION=${{ env.BUILD_REVISION }} BUILD_VERSION=${{ env.BUILD_VERSION }} - cache-from: type=registry,ref=${{ env.CONTAINER_IMAGE_ID }} + cache-from: type=registry,ref=${{ env.CONTAINER_IMAGE_ID }}-buildcache cache-to: type=registry,ref=${{ env.CONTAINER_IMAGE_ID }}-buildcache,mode=max load: false push: true