Add Docker cleanup step to build-docker-image workflow
Build and Push Server Docker Image / build-server (push) Successful in 45s
Build and Push Server Docker Image / build-server (push) Successful in 45s
This commit is contained in:
1 parent
0db3fda0c6
commit
0d1f57399a
1 file changed
+5
-1
@@ -41,4 +41,8 @@ jobs:
|
|||||||
push: true
|
push: true
|
||||||
tags: ${{ secrets.REGISTRY_URL }}/${{ github.repository_owner }}/${{ env.REPO_NAME_LOWER }}:latest-server
|
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-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