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 47b2f2f commit 5132e45Copy full SHA for 5132e45
.github/workflows/image_publishing.yml
@@ -13,6 +13,19 @@ jobs:
13
- name: Checkout code
14
uses: actions/checkout@v3
15
16
+ - name: Free disk space
17
+ run: |
18
+ echo "Initial disk usage:"
19
+ df -h
20
+
21
+ sudo rm -rf /usr/share/dotnet
22
+ sudo rm -rf /usr/local/lib/android
23
+ sudo rm -rf /opt/ghc
24
+ sudo rm -rf "$AGENT_TOOLSDIRECTORY"
25
26
+ echo "After cleanup:"
27
28
29
30
- name: Docker meta
31
id: meta
@@ -40,3 +53,10 @@ jobs:
40
53
push: true
41
54
tags: ${{ steps.meta.outputs.tags }}
42
55
platforms: linux/amd64,linux/arm64
56
+ no-cache: true
57
58
+ - name: Cleanup Docker
59
+ if: always()
60
61
+ docker system prune -af || true
62
0 commit comments