We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f8f0de2 commit 6e4fb0bCopy full SHA for 6e4fb0b
.github/workflows/build-brev-tutorial-docker-images.yml
@@ -36,6 +36,23 @@ jobs:
36
- name: Checkout repository
37
uses: actions/checkout@v4
38
39
+ - name: Free up disk space
40
+ run: |
41
+ echo "Disk space before cleanup:"
42
+ df -h
43
+
44
+ # Remove unnecessary tools and files to free up space
45
+ sudo rm -rf /usr/share/dotnet
46
+ sudo rm -rf /usr/local/lib/android
47
+ sudo rm -rf /opt/ghc
48
+ sudo rm -rf /opt/hostedtoolcache/CodeQL
49
50
+ # Clean up Docker
51
+ docker system prune -af --volumes
52
53
+ echo "Disk space after cleanup:"
54
55
56
- name: Get branch name and short SHA
57
run: |
58
echo "GIT_BRANCH_NAME=${GITHUB_REF#refs/heads/}" >> $GITHUB_ENV
0 commit comments