From ecfd5e34e52c21bd3a16b8f000be4eb0929655b7 Mon Sep 17 00:00:00 2001 From: Matt Bell Date: Wed, 21 Feb 2024 16:38:47 +1100 Subject: [PATCH] Registry type cache --- .github/workflows/docker-image.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 0a306e4..4b0685e 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -58,8 +58,8 @@ jobs: push: false tags: cmfive-boilerplate:latest load: true # Use the built image in the next step - cache-from: type=gha - cache-to: type=gha,mode=max + cache-from: type=registry,ref=2pisoftware/cmfive-boilerplate:buildcache + cache-to: type=registry,ref=2pisoftware/cmfive-boilerplate:buildcache,mode=max # Build the theme, copy it to boilerplate, tag and push - name: Build and push cmfive image @@ -69,7 +69,6 @@ jobs: push: true tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} - cache-from: type=gha - cache-to: type=gha,mode=max - + cache-from: type=registry,ref=2pisoftware/cmfive:buildcache + cache-to: type=registry,ref=2pisoftware/cmfive:buildcache,mode=max