From 01006303dbead27e005b5cfc1525dca49860d2f1 Mon Sep 17 00:00:00 2001 From: maxmwang Date: Sat, 14 Dec 2024 22:26:30 -0800 Subject: [PATCH] set up docker registry cache for docs image --- .github/workflows/cd-deploy-docs.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cd-deploy-docs.yaml b/.github/workflows/cd-deploy-docs.yaml index fbdb1b9de..67a8975b7 100644 --- a/.github/workflows/cd-deploy-docs.yaml +++ b/.github/workflows/cd-deploy-docs.yaml @@ -30,8 +30,8 @@ jobs: context: docs push: true tags: ${{ secrets.DOCKER_USERNAME }}/bt-docs:prod - cache-from: type=registry,ref=${{ secrets.DOCKER_USERNAME }}/bt-docs:prod - cache-to: type=inline + cache-from: type=registry,ref=${{ secrets.DOCKER_USERNAME }}/bt-docs:prod-cache + cache-to: type=registry,ref=${{ secrets.DOCKER_USERNAME }}/bt-docs:prod-cache deploy: name: SSH and Deploy