Skip to content

Commit

Permalink
Add check space steps
Browse files Browse the repository at this point in the history
  • Loading branch information
elenamsd committed Aug 22, 2024
1 parent 51eed27 commit c99e224
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/build-test-webapp-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,10 @@ jobs:
- name: Check space in machine
run: |
df -h
sudo du -h --max-depth=1 /usr
sudo du -h --max-depth=1 /var
sudo du -h --max-depth=1 /tmp
sudo du -h --max-depth=1 /usr/lib
sudo du -h --max-depth=1 /usr/share
sudo du -h --max-depth=1 /usr/local
sudo du -h --max-depth=1 /var/lib
- name: Build & Push
uses: docker/build-push-action@v4
Expand All @@ -50,9 +51,10 @@ jobs:
- name: Check space in machine after build
run: |
df -h
sudo du -h --max-depth=1 /usr
sudo du -h --max-depth=1 /var
sudo du -h --max-depth=1 /tmp
sudo du -h --max-depth=1 /usr/lib
sudo du -h --max-depth=1 /usr/share
sudo du -h --max-depth=1 /usr/local
sudo du -h --max-depth=1 /var/lib
- name: Move cache
run: |
rm -rf /tmp/.buildx-cache
Expand Down

0 comments on commit c99e224

Please sign in to comment.