From 48042557c2fadbb5f400178f42913d20df9745ef Mon Sep 17 00:00:00 2001 From: riku6460 <17585784+riku6460@users.noreply.github.com> Date: Mon, 6 Nov 2023 23:39:33 +0900 Subject: [PATCH] =?UTF-8?q?Docker=20=E3=81=AE=E3=83=93=E3=83=AB=E3=83=89?= =?UTF-8?q?=E3=82=AD=E3=83=A3=E3=83=83=E3=82=B7=E3=83=A5=E3=81=AB=20type?= =?UTF-8?q?=3Dregistry=20=E3=82=92=E4=BD=BF=E7=94=A8=E3=81=99=E3=82=8B=20(?= =?UTF-8?q?MisskeyIO#211)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit タグでビルドしているため、Actions のキャッシュが効かない --- .github/workflows/docker-io.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docker-io.yml b/.github/workflows/docker-io.yml index 1e8eff26d4..0e9531a40f 100644 --- a/.github/workflows/docker-io.yml +++ b/.github/workflows/docker-io.yml @@ -43,8 +43,8 @@ jobs: platforms: ${{ steps.buildx.outputs.platforms }} provenance: false labels: ${{ env.FORMATTED_BRANCH_NAME }} - cache-from: type=gha - cache-to: type=gha,mode=max + cache-from: type=registry,ref=ghcr.io/misskeyio/misskey:io-buildcache + cache-to: type=registry,ref=ghcr.io/misskeyio/misskey:io-buildcache,mode=max tags: | ghcr.io/misskeyio/misskey:latest ghcr.io/misskeyio/misskey:${{ env.FORMATTED_BRANCH_NAME }}