From 518dcf743d250884762fd792614dd4bb12fc87f0 Mon Sep 17 00:00:00 2001 From: liushuyu Date: Wed, 6 Sep 2023 21:08:12 -0600 Subject: [PATCH] CI: add Docker BuildX caching --- .github/workflows/ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0f0c7d6..082098f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -46,8 +46,11 @@ jobs: uses: docker/build-push-action@v4 with: platforms: ${{ matrix.platform }} + pull: true push: ${{ (github.ref == 'refs/heads/master') && (github.repository == 'citra-emu/citra-multiplayer-dedicated') }} outputs: type=image,name=${{ env.REGISTRY_IMAGE }},push-by-digest=true,name-canonical=true + cache-from: type=gha + cache-to: type=gha,mode=max - name: Export digest run: | mkdir -p /tmp/digests