Skip to content

Commit

Permalink
ci: log disk usage
Browse files Browse the repository at this point in the history
  • Loading branch information
turadg committed Jan 26, 2024
1 parent 161a066 commit e8fce15
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand All @@ -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:
Expand Down

0 comments on commit e8fce15

Please sign in to comment.