Update .gitea/workflows/default.yml
All checks were successful
Gitea CI/CD / build (push) Successful in 1m41s

Commit with prune.
This commit is contained in:
2024-05-17 10:47:06 +10:00
parent 6b78bc201b
commit efb4b78d61

View File

@@ -40,6 +40,7 @@ jobs:
fi
docker login registry.rokoh.com -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }} && docker image pull registry.rokoh.com/rokoh:latest
docker run -d -p 2000:80 --restart=always --name rokoh registry.rokoh.com/rokoh
docker image prune -f
- name: Prune Docker resources
run: docker system prune -af --volumes