Skip to content

Commit

Permalink
Delete Docker Cache before building Image (ultralytics#14894)
Browse files Browse the repository at this point in the history
Co-authored-by: Glenn Jocher <[email protected]>
  • Loading branch information
lakshanthad and glenn-jocher authored Aug 1, 2024
1 parent 9c5d1a2 commit 9f22f45
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,15 @@ jobs:
# tags: "latest-conda"
# platforms: "linux/amd64"
steps:
- name: Cleanup toolcache
# Free up to 10GB of disk space per https://github.com/ultralytics/ultralytics/pull/14894
run: |
echo "Free space before deletion:"
df -h /
rm -rf /opt/hostedtoolcache
echo "Free space after deletion:"
df -h /
- name: Checkout repo
uses: actions/checkout@v4
with:
Expand Down

0 comments on commit 9f22f45

Please sign in to comment.