From 2ac5ca1c58113c7311f3e1fa8b494aa22490621f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20K=C3=A4stner?= Date: Sun, 28 Feb 2021 21:25:44 +0100 Subject: [PATCH] remove unnecessary caching of docker image --- .github/workflows/main.yml | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d4ca631..c66c477 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -29,33 +29,15 @@ jobs: id: buildx uses: docker/setup-buildx-action@v1 - - name: Cache Docker layers - uses: actions/cache@v2 - with: - path: /tmp/.buildx-cache - key: ${{ runner.os }}-buildx-${{ github.sha }} - restore-keys: | - ${{ runner.os }}-buildx- - - name: Build the thesis uses: docker/build-push-action@v2 with: push: false builder: ${{ steps.buildx.outputs.name }} tags: release-${{ steps.environment.outputs.sha_short }} - cache-from: type=local,src=/tmp/.buildx-cache - cache-to: type=local,dest=/tmp/.buildx-cache-new context: . outputs: . - # 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: Upload thesis.pdf to build artifacts uses: actions/upload-artifact@v1 with: