Skip to content

Commit

Permalink
add some debug info to docker storage space
Browse files Browse the repository at this point in the history
  • Loading branch information
gpmayorga committed Apr 13, 2023
1 parent 96a4b8c commit ff6fa60
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,12 @@ jobs:
run: |
sudo rm -rf /usr/share/dotnet
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
df -h
- name: check available docker space
run: |
docker volume ls
df -sh
- name: Set docker tag
run: |
if [ "${WORKFLOW_TAG}" != "" ]; then
Expand All @@ -45,6 +50,11 @@ jobs:
- if: matrix.target == 'test'
name: Build docker test
run: docker build --build-arg RUST_TOOLCHAIN=${{ env.RUST_TOOLCHAIN }} --build-arg OPTS="--features=fast-runtime" -t centrifugeio/centrifuge-chain:test-${{ env.DOCKER_TAG }}-latest .
- if: failure()
name: Check available space after build failed
run: |
docker volume ls
df -sh
- name: Login to Docker Hub
uses: docker/login-action@dd4fa0671be5250ee6f50aedf4cb05514abda2c7
with:
Expand Down

0 comments on commit ff6fa60

Please sign in to comment.