File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 8888 echo "::group::docker images"
8989 docker images
9090 echo "::endgroup::"
91+
92+ - name : Print out Disk Usage
93+ if : always()
94+ shell : bash
95+ run : |
96+ echo "::group::Disk usage after build"
97+ echo "In GiB:"
98+ df -h -BGiB /
99+ echo "In MiB:"
100+ df -h -BMiB /
101+ echo "::endgroup::"
Original file line number Diff line number Diff line change @@ -102,3 +102,14 @@ runs:
102102 # can be used as action outputs
103103 echo "IMAGE_MANIFEST_TAG=$IMAGE_MANIFEST_TAG" | tee -a "$GITHUB_OUTPUT"
104104 echo "IMAGE_INDEX_MANIFEST_TAG=$IMAGE_INDEX_MANIFEST_TAG" | tee -a "$GITHUB_OUTPUT"
105+
106+ - name : Print out Disk Usage
107+ if : always()
108+ shell : bash
109+ run : |
110+ echo "::group::Disk usage after build"
111+ echo "In GiB:"
112+ df -h -BGiB /
113+ echo "In MiB:"
114+ df -h -BMiB /
115+ echo "::endgroup::"
Original file line number Diff line number Diff line change 8484 }
8585
8686 echo "::group::Disk usage before"
87- df -h /
87+ echo "In GiB:"
88+ df -h -BGiB /
89+ echo "In MiB:"
90+ df -h -BMiB /
8891 echo "::endgroup::"
8992
9093 echo "::group::Parallel cleanup"
@@ -105,5 +108,8 @@ runs:
105108 echo "::endgroup::"
106109
107110 echo "::group::Disk usage after"
108- df -h /
111+ echo "In GiB:"
112+ df -h -BGiB /
113+ echo "In MiB:"
114+ df -h -BMiB /
109115 echo "::endgroup::"
You can’t perform that action at this time.
0 commit comments