Skip to content

Commit 81daa30

Browse files
committed
.github: clear build cache between image builds
To fix the issue that currently prevents the second image (with the /lit path prefix) to be built and pushed (both for releases and nightly builds), we clear the build cache between builds.
1 parent 2588b83 commit 81daa30

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)