Skip to content

Commit a9c5764

Browse files
authored
Merge pull request #824 from lightninglabs/docker-build-disk-space
.github: clear build cache between image builds
2 parents 2588b83 + 81daa30 commit a9c5764

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/docker.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,9 @@ jobs:
6363
platforms: linux/amd64,linux/arm64
6464
tags: "${{ env.DOCKER_ORG }}/${{ env.DOCKER_REPO }}:${{ env.IMAGE_TAG }}"
6565
build-args: checkout=${{ env.RELEASE_VERSION }}
66+
67+
- name: Clear the build cache
68+
run: docker builder prune -a -f
6669

6770
- name: Build and push image with /lit path
6871
id: docker_build2

0 commit comments

Comments
 (0)