This is an automated email from the ASF dual-hosted git repository.

liuhan pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/skywalking-rover.git


The following commit(s) were added to refs/heads/main by this push:
     new e0fc8f7  Fix push docker image failure (#149)
e0fc8f7 is described below

commit e0fc8f7c72a8b57dab6ea9552d7be2b40b134fe8
Author: mrproliu <[email protected]>
AuthorDate: Thu Oct 10 10:30:25 2024 +0800

    Fix push docker image failure (#149)
---
 .github/workflows/publish-docker.yaml | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/publish-docker.yaml 
b/.github/workflows/publish-docker.yaml
index 67a7c5c..b916a70 100644
--- a/.github/workflows/publish-docker.yaml
+++ b/.github/workflows/publish-docker.yaml
@@ -44,11 +44,15 @@ jobs:
           registry: ${{ env.HUB }}
           username: ${{ github.actor }}
           password: ${{ secrets.GITHUB_TOKEN }}
-      - name: Clean spaces for docker images
+      - name: Clean spaces for docker images and show disk usage
         run: |
           sudo rm -rf /usr/share/dotnet
           sudo rm -rf /opt/ghc
           sudo rm -rf "/usr/local/share/boost"
           sudo rm -rf "$AGENT_TOOLSDIRECTORY"
+          sudo rm -rf /usr/local/lib/android
+          sudo swapoff -a
+          sudo rm -f /mnt/swapfile
+          df -h /
       - name: Build and push docker images
         run: make docker.push
\ No newline at end of file

Reply via email to