Skip to content

Commit 090bdc2

Browse files
authored
Merge pull request #1096 from lightninglabs/docker-build
GitHub: make Docker build more reliable
2 parents 779cf9d + b4e4d43 commit 090bdc2

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/docker.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ jobs:
2525
main:
2626
runs-on: ubuntu-latest
2727
steps:
28+
- name: cleanup space
29+
run: rm -rf /opt/hostedtoolcache
30+
2831
- name: Set up QEMU
2932
uses: lightninglabs/gh-actions/[email protected]
3033

@@ -62,8 +65,11 @@ jobs:
6265
tags: "${{ env.DOCKER_ORG }}/${{ env.DOCKER_REPO }}:${{ env.IMAGE_TAG }}"
6366
build-args: checkout=${{ env.RELEASE_VERSION }}
6467

65-
- name: Clear the build cache
68+
- name: Clear the Docker build cache
6669
run: docker builder prune -a -f
70+
71+
- name: Clear the Docker image cache
72+
run: docker image prune -a -f
6773

6874
- name: Build and push image with /lit path
6975
id: docker_build2

0 commit comments

Comments
 (0)