Add Docker cleanup step to build-docker-image workflow
All checks were successful
Build and Push Server Docker Image / build-server (push) Successful in 45s

This commit is contained in:
2025-09-03 19:37:31 +03:30
parent 0db3fda0c6
commit 0d1f57399a

View File

@@ -41,4 +41,8 @@ jobs:
push: true
tags: ${{ secrets.REGISTRY_URL }}/${{ github.repository_owner }}/${{ env.REPO_NAME_LOWER }}:latest-server
cache-from: type=registry,ref=${{ secrets.REGISTRY_URL }}/${{ github.repository_owner }}/${{ env.REPO_NAME_LOWER }}:buildcache
cache-to: type=registry,ref=${{ secrets.REGISTRY_URL }}/${{ github.repository_owner }}/${{ env.REPO_NAME_LOWER }}:buildcache,mode=max
cache-to: type=registry,ref=${{ secrets.REGISTRY_URL }}/${{ github.repository_owner }}/${{ env.REPO_NAME_LOWER }}:buildcache,mode=max
- name: Clean up Docker in dind
run: docker system prune -af --volumes