From ce1f6c92ab0f6c57bbe5e5574f75680d7ddde4dd Mon Sep 17 00:00:00 2001 From: rcourtman Date: Thu, 20 Nov 2025 10:13:01 +0000 Subject: [PATCH] Reuse docker build cache between integration and release builds --- .github/workflows/create-release.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml index 21d3d4c..06d7b54 100644 --- a/.github/workflows/create-release.yml +++ b/.github/workflows/create-release.yml @@ -130,7 +130,7 @@ jobs: - name: Build Docker images for integration tests run: | docker build -t pulse-mock-github:test tests/integration/mock-github-server - docker build -t pulse:test -f Dockerfile . + docker build -t pulse:test -f Dockerfile --target runtime --cache-from ghcr.io/${{ github.repository_owner }}/pulse:buildcache --build-arg BUILDKIT_INLINE_CACHE=1 . - name: Run update integration smoke tests working-directory: tests/integration @@ -226,6 +226,7 @@ jobs: uses: docker/build-push-action@v6 with: context: . + target: runtime platforms: linux/amd64,linux/arm64 push: true provenance: false