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
All checks were successful
Build and Push Server Docker Image / build-server (push) Successful in 45s
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user