From 9911eac06af980f2826356ebef2bd62d0afc1bc7 Mon Sep 17 00:00:00 2001 From: Hans Dahle Date: Tue, 5 Nov 2024 07:26:28 +0100 Subject: [PATCH] added cache-from arg --- pipelines/api-pr-pipeline.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pipelines/api-pr-pipeline.yml b/pipelines/api-pr-pipeline.yml index 58c4aaa6f..67dfb24a4 100644 --- a/pipelines/api-pr-pipeline.yml +++ b/pipelines/api-pr-pipeline.yml @@ -58,6 +58,8 @@ stages: buildContext: ./src/backend dockerfile: ./src/backend/api/Fusion.Resources.Api/Dockerfile tags: $(prNumber) + arguments: | + --cache-from=type=registry,ref=crfsharedhostingall.azurecr.io/$(imageRepo):$(prNumber) # - template: templates/docker-buildx.yml@infra # parameters: