diff --git a/.github/workflows/docker-build.yml b/.github/workflows/docker-build.yml index 5463d08f..55abd199 100644 --- a/.github/workflows/docker-build.yml +++ b/.github/workflows/docker-build.yml @@ -15,14 +15,6 @@ jobs: - name: Set up Docker Buildx uses: docker/setup-buildx-action@v1 - - name: Cache Docker layers - uses: actions/cache@v4 - with: - path: /tmp/.buildx-cache - key: ${{ runner.os }}-buildx-${{ github.sha }} - restore-keys: | - ${{ runner.os }}-buildx- - - name: Get version from package.json id: get_version run: echo "VERSION=$(jq -r .version package.json)" >> $GITHUB_ENV @@ -42,14 +34,4 @@ jobs: tags: | driaug/plunk:${{ env.VERSION }} driaug/plunk:latest - platforms: linux/amd64,linux/arm64 - cache-from: type=local,src=/tmp/.buildx-cache - cache-to: type=local,dest=/tmp/.buildx-cache-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/.buildx-cache - mv /tmp/.buildx-cache-new /tmp/.buildx-cache + platforms: linux/amd64,linux/arm64 \ No newline at end of file