From 53e18e75bb8851b2fdd4c8bb43fb8796abea73ce Mon Sep 17 00:00:00 2001 From: ggoknar Date: Mon, 30 Oct 2023 15:30:29 +0300 Subject: [PATCH] multiple cache --- .github/workflows/build-and-push-to-ghcr.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-and-push-to-ghcr.yml b/.github/workflows/build-and-push-to-ghcr.yml index f78374a..afbc9ec 100644 --- a/.github/workflows/build-and-push-to-ghcr.yml +++ b/.github/workflows/build-and-push-to-ghcr.yml @@ -29,7 +29,7 @@ jobs: context: "{{defaultContext}}:server" file: Dockerfile push: false # Do not push image for PR - cache-from: type=registry,ref=ghcr.io/coqui-ai/xtts-streaming-server:cache-pr-${{ github.event.number }} + cache-from: "type=registry,ref=ghcr.io/coqui-ai/xtts-streaming-server:cache-latest","type=registry,ref=ghcr.io/coqui-ai/xtts-streaming-server:cache-pr-${{ github.event.number }}" cache-to: type=registry,ref=ghcr.io/coqui-ai/xtts-streaming-server:cache-pr-${{ github.event.number }} - name: Build and Push image