Skip to content

Commit

Permalink
Remove tmp path when building docker (#90)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrproliu authored Jun 14, 2023
1 parent 87c63a1 commit 9da4478
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish-docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,4 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push docker images
run: make docker docker.push
run: make docker.push
5 changes: 4 additions & 1 deletion scripts/build/bash/btfgen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}
cp -r ${TMPDIR}/btfhub/custom-archive/* ${OUTPUT}

# remove the btfhub for save the space
rm -rf $TMPDIR/btfhub

0 comments on commit 9da4478

Please sign in to comment.