Skip to content

#1 PDF Application on GitHub that lets you edit PDFs on any device anywhere

ci(build): scope Docker layer cache per artifact to avoid cross-contamination (#5453)

Ludya36646349650
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index da110b7810..8755d41ac8 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -326,8 +326,8 @@ jobs:
context: .
file: ./${{ matrix.docker-rev }}
push: false
- cache-from: type=gha
- cache-to: type=gha,mode=max
+ cache-from: type=gha,scope=${{ matrix.artifact-suffix }}
+ cache-to: type=gha,mode=max,scope=${{ matrix.artifact-suffix }}
platforms: linux/amd64,linux/arm64/v8
provenance: true
sbom: true