From 9be90032e08fc916ed381686ebddbc62c92d2257 Mon Sep 17 00:00:00 2001 From: Bulat Kurbanov Date: Wed, 26 Oct 2022 22:27:29 +0200 Subject: [PATCH] Remove caching from action --- .github/workflows/build_docker_image.yml | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/.github/workflows/build_docker_image.yml b/.github/workflows/build_docker_image.yml index ec97a12..61c260c 100644 --- a/.github/workflows/build_docker_image.yml +++ b/.github/workflows/build_docker_image.yml @@ -23,14 +23,6 @@ jobs: name: Set up Docker Buildx uses: docker/setup-buildx-action@v2 - - name: Cache Docker layers - uses: actions/cache@v3 - with: - path: /tmp/.buildx-cache - key: ${{ runner.os }}-buildx-${{ github.sha }} - restore-keys: | - ${{ runner.os }}-buildx- - - id: repository_name uses: ASzc/change-string-case-action@v3 with: @@ -56,18 +48,6 @@ jobs: tags: ghcr.io/${{ env.IMAGE }}:latest context: . file: ./docker/build.dockerfile - cache-from: type=local,src=/tmp/.buildx-cache - cache-to: type=local,dest=/tmp/.buildx-cache-new,mode=max - - # This ugly bit is necessary if you don't want your cache to grow forever - # until it hits GitHub's limit of 5GB. - # 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/.buildx-cache - mv /tmp/.buildx-cache-new /tmp/.buildx-cache - name: Invoke deployment hook