From e8fce151e00f959fe1b975602c8669dfdc7318ec Mon Sep 17 00:00:00 2001 From: Turadg Aleahmad Date: Wed, 24 Jan 2024 11:58:27 -0800 Subject: [PATCH] ci: log disk usage --- .github/workflows/ci.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7a5b3cdd..d677f16d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -109,11 +109,19 @@ jobs: - run: corepack enable || sudo corepack enable - run: yarn install + - run: docker system df + - run: docker buildx du --verbose + - run: df -h + # Test before pushing the images. - name: Build and run proposal tests if: ${{ matrix.platform == env.X86_PLATFORM }} run: yarn test + - run: docker system df + - run: docker buildx du --verbose + - run: df -h + # Build a "use" image for each proposal. This uses Docker Bake's # matrix feature. We could have each "use" image built in a different runner # by including https://github.com/docker/bake-action?tab=readme-ov-file#list-targets @@ -130,6 +138,10 @@ jobs: ${{ steps.meta.outputs.bake-file }} targets: use + - run: docker system df + - run: docker buildx du --verbose + - run: df -h + - name: Build and push default image uses: docker/build-push-action@v5 with: @@ -141,6 +153,10 @@ jobs: tags: ${{ steps.docker-tags.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} + - run: docker system df + - run: docker buildx du --verbose + - run: df -h + # Merge the default image from each platform into one multi-arch image, # then publish that multiarch image. docker-publish-multiarch: