Skip to content

Commit

Permalink
fix yolox ci
Browse files Browse the repository at this point in the history
  • Loading branch information
hrjp authored Jun 22, 2023
1 parent 06534ff commit 54f560f
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/yolox-noetic-image-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,46 @@ jobs:
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Clean space
run: |
docker images
sudo rm -rf "/opt/ghc" || true
sudo rm -rf "/usr/share/dotnet" || true
sudo rm -rf "$AGENT_TOOLSDIRECTORY" || true
sudo rm -rf "/usr/local/lib/android" || true
sudo rm -rf "/usr/local/share/boost" || true
docker rmi $(docker image ls -q --filter "reference=node*")
docker rmi $(docker image ls -q --filter "reference=buildpack*")
docker rmi $(docker image ls -q --filter "reference=debian*")
docker rmi $(docker image ls -q --filter "reference=alpine*")
docker rmi $(docker image ls -q --filter "reference=ubuntu:18.04")
docker rmi $(docker image ls -q --filter "reference=ubuntu:20.04")
sudo apt purge \
ansible \
aria2 \
azure-cli \
bazel \
cabal* \
clang* \
dotnet-sdk* \
ghc* \
google-chrome-stable \
google-cloud-sdk \
heroku \
kubectl \
mysql* \
node* \
npm* \
php* \
powershell \
rpm \
ruby* \
subversion \
yarn \
-yq >/dev/null 2>&1 || true
sudo apt-get autoremove -y >/dev/null 2>&1 || true
sudo apt-get autoclean -y >/dev/null 2>&1 || true
df -h
- name: Build and Push to Docker Hub
uses: docker/build-push-action@v2
with:
Expand Down

0 comments on commit 54f560f

Please sign in to comment.