Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

solve disk usage #79

Merged
merged 7 commits into from
Jan 26, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
ci: log disk usage
  • Loading branch information
turadg committed Jan 26, 2024
commit e8fce151e00f959fe1b975602c8669dfdc7318ec
16 changes: 16 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -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: