diff --git a/.github/workflows/docker-publish.yaml b/.github/workflows/docker-publish.yaml index 049ea3caa..6457eed43 100644 --- a/.github/workflows/docker-publish.yaml +++ b/.github/workflows/docker-publish.yaml @@ -38,6 +38,7 @@ jobs: run: | sudo swapoff -a sudo rm -f /swapfile + sudo rm -rf /opt/hostedtoolcache sudo apt clean docker rmi $(docker image ls -aq) df -h diff --git a/devops/_config/deprecated.sh b/devops/_config/deprecated.sh index 276ce1e1d..e61eb0834 100755 --- a/devops/_config/deprecated.sh +++ b/devops/_config/deprecated.sh @@ -16,11 +16,11 @@ git clone https://github.com/WildMeOrg/wbia-plugin-pie.git && cd /wbia/wbia-plugin-pie \ && /bin/bash run_developer_setup.sh' -/virtualenv/env3/bin/pip install --cache-dir $TMPDIR \ +/virtualenv/env3/bin/pip install --no-cache-dir \ 'tensorflow-gpu==1.15.5' \ 'keras==2.2.5' -/virtualenv/env3/bin/pip install --cache-dir $TMPDIR --upgrade \ +/virtualenv/env3/bin/pip install --no-cache-dir --upgrade \ numpy /virtualenv/env3/bin/python -c "import wbia_pie; from wbia_pie.__main__ import main; main()"