Delete Docker Cache before building Image (#14894)
Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
This commit is contained in:
parent
9c5d1a2451
commit
9f22f45189
1 changed files with 9 additions and 0 deletions
9
.github/workflows/docker.yaml
vendored
9
.github/workflows/docker.yaml
vendored
|
|
@ -82,6 +82,15 @@ jobs:
|
||||||
# tags: "latest-conda"
|
# tags: "latest-conda"
|
||||||
# platforms: "linux/amd64"
|
# platforms: "linux/amd64"
|
||||||
steps:
|
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
|
- name: Checkout repo
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue