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

wusheng 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 9da4478  Remove tmp path when building docker (#90)
9da4478 is described below

commit 9da447851549b20d12e762d8e180be47f7b7b986
Author: mrproliu <[email protected]>
AuthorDate: Wed Jun 14 01:31:48 2023 +0000

    Remove tmp path when building docker (#90)
---
 .github/workflows/publish-docker.yaml | 2 +-
 scripts/build/bash/btfgen.sh          | 5 ++++-
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/publish-docker.yaml 
b/.github/workflows/publish-docker.yaml
index d9feb66..734340b 100644
--- a/.github/workflows/publish-docker.yaml
+++ b/.github/workflows/publish-docker.yaml
@@ -45,4 +45,4 @@ jobs:
           username: ${{ github.actor }}
           password: ${{ secrets.GITHUB_TOKEN }}
       - name: Build and push docker images
-        run: make docker docker.push
\ No newline at end of file
+        run: make docker.push
\ No newline at end of file
diff --git a/scripts/build/bash/btfgen.sh b/scripts/build/bash/btfgen.sh
index 89f6da0..80ecd68 100644
--- a/scripts/build/bash/btfgen.sh
+++ b/scripts/build/bash/btfgen.sh
@@ -47,4 +47,7 @@ each_all_bpf_so_file() {
 
 ${TMPDIR}/btfhub/tools/btfgen.sh -a ${ARCH} $(each_all_bpf_so_file $FROM)
 mkdir -p ${OUTPUT}
-cp -r ${TMPDIR}/btfhub/custom-archive/* ${OUTPUT}
\ No newline at end of file
+cp -r ${TMPDIR}/btfhub/custom-archive/* ${OUTPUT}
+
+# remove the btfhub for save the space
+rm -rf $TMPDIR/btfhub
\ No newline at end of file

Reply via email to