更新 .gitea/workflows/push.yml
Some checks failed
Docker Build & Deploy / Build Docker Image (push) Successful in 1m6s
Docker Build & Deploy / Deploy to Production (push) Failing after 2s

This commit is contained in:
2025-03-04 19:00:06 +08:00
parent f63056f6bf
commit 87075be112

View File

@@ -17,15 +17,7 @@ jobs:
- name: Cleanup old containers
run: |
ls -a
uname -a || true
lsb_release -a || true
whoami || true
id || true
dpkg -l || true
rpm -qa || true
apt list --installed || true
yum list installed || true
apt update && apt install -y docker.io
docker compose -p $COMPOSE_PROJECT_NAME down || true
docker rmi ${{ env.COMPOSE_PROJECT_NAME }} || true