From 1baa480318d3993a108b5bf7d3c6522a8b917547 Mon Sep 17 00:00:00 2001 From: Gustavo Maronato Date: Sat, 26 Aug 2023 11:50:42 -0300 Subject: [PATCH] use temp fix for cache --- .github/workflows/build.yml | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d092623..a264673 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -77,13 +77,12 @@ jobs: tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} cache-from: type=local,src=/tmp/.buildx-cache - cache-to: type=local,dest=/tmp/.buildx-cache,mode=max - # cache-to: type=local,dest=/tmp/.build-cache/buildx-new,mode=max - # - - # # "Temp" fix - # # https://github.com/docker/build-push-action/issues/252 - # # https://github.com/moby/buildkit/issues/1896 - # name: Move cache - # run: | - # rm -rf /tmp/.build-cache/buildx - # mv /tmp/.build-cache/buildx-new /tmp/.build-cache/buildx + # cache-to: type=local,dest=/tmp/.buildx-cache,mode=max + cache-to: type=local,dest=/tmp/.build-cache/buildx-new,mode=max + - # "Temp" fix + # https://github.com/docker/build-push-action/issues/252 + # https://github.com/moby/buildkit/issues/1896 + name: Move cache + run: | + rm -rf /tmp/.build-cache/buildx + mv /tmp/.build-cache/buildx-new /tmp/.build-cache/buildx