From 1eb688982eb0755063239731a792d221e5c2141d Mon Sep 17 00:00:00 2001 From: sd109 Date: Mon, 2 Sep 2024 10:09:03 +0100 Subject: [PATCH] Try alternative docker cache config --- .../workflows/docker-build-push-backend-container-on-tag.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docker-build-push-backend-container-on-tag.yml b/.github/workflows/docker-build-push-backend-container-on-tag.yml index 634bba7151c..f88bc949f46 100644 --- a/.github/workflows/docker-build-push-backend-container-on-tag.yml +++ b/.github/workflows/docker-build-push-backend-container-on-tag.yml @@ -38,8 +38,8 @@ jobs: ${{ env.REGISTRY_IMAGE }}:latest build-args: | DANSWER_VERSION=${{ github.ref_name }} - cache-from: type=gha - cache-to: type=gha,mode=max + cache-from: type=registry,ref=${{ env.REGISTRY_IMAGE }}:buildcache + cache-to: type=registry,ref=${{ env.REGISTRY_IMAGE}}:buildcache,mode=max - name: Run Trivy vulnerability scanner uses: aquasecurity/trivy-action@master