Skip to content

Commit 1f4d7f4

Browse files
committed
Prune between Docker builds
1 parent 2f11d90 commit 1f4d7f4

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/build_docker.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,11 @@ jobs:
6060
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:ubuntu18
6161
labels: ${{ steps.meta.outputs.labels }}
6262

63+
- name: Prune Docker Volumes
64+
shell: bash -l {0}
65+
run:
66+
docker system prune --volumes -f
67+
6368
- name: Build and push Rocky8 Docker image
6469
uses: docker/build-push-action@v4
6570
with:

0 commit comments

Comments
 (0)