|
47 | 47 | run: | |
48 | 48 | docker buildx create --name with-gha --use |
49 | 49 | docker buildx build \ |
50 | | - --cache-to type=gha,compression=zstd,mode=max,scope=${ARCH}-${CONTAINERD_VERSION} \ |
51 | | - --cache-from type=gha,scope=${ARCH}-${CONTAINERD_VERSION} \ |
| 50 | + --cache-to type=gha,compression=zstd,mode=max,scope=test-integration-dependencies-${ARCH} \ |
| 51 | + --cache-from type=gha,scope=test-integration-dependencies-${ARCH} \ |
52 | 52 | --target build-dependencies --build-arg CONTAINERD_VERSION=${CONTAINERD_VERSION} . |
53 | 53 |
|
54 | 54 | test-unit: |
@@ -128,7 +128,7 @@ jobs: |
128 | 128 | docker buildx create --name with-gha --use |
129 | 129 | docker buildx build \ |
130 | 130 | --output=type=docker \ |
131 | | - --cache-from type=gha,scope=${ARCH}-${CONTAINERD_VERSION} \ |
| 131 | + --cache-from type=gha,scope=test-integration-dependencies-${ARCH} \ |
132 | 132 | -t test-integration --target test-integration --build-arg UBUNTU_VERSION=${UBUNTU_VERSION} --build-arg CONTAINERD_VERSION=${CONTAINERD_VERSION} . |
133 | 133 | - name: "Remove snap loopback devices (conflicts with our loopback devices in TestRunDevice)" |
134 | 134 | run: | |
@@ -186,7 +186,7 @@ jobs: |
186 | 186 | docker buildx create --name with-gha --use |
187 | 187 | docker buildx build \ |
188 | 188 | --output=type=docker \ |
189 | | - --cache-from type=gha,scope=${ARCH}-${CONTAINERD_VERSION} \ |
| 189 | + --cache-from type=gha,scope=test-integration-dependencies-${ARCH} \ |
190 | 190 | -t test-integration --target test-integration --build-arg UBUNTU_VERSION=${UBUNTU_VERSION} --build-arg CONTAINERD_VERSION=${CONTAINERD_VERSION} . |
191 | 191 | - name: "Remove snap loopback devices (conflicts with our loopback devices in TestRunDevice)" |
192 | 192 | run: | |
@@ -285,7 +285,7 @@ jobs: |
285 | 285 | docker buildx create --name with-gha --use |
286 | 286 | docker buildx build \ |
287 | 287 | --output=type=docker \ |
288 | | - --cache-from type=gha,scope=${ARCH}-${CONTAINERD_VERSION} \ |
| 288 | + --cache-from type=gha,scope=test-integration-dependencies-${ARCH} \ |
289 | 289 | -t ${TEST_TARGET} --target ${TEST_TARGET} --build-arg UBUNTU_VERSION=${UBUNTU_VERSION} --build-arg CONTAINERD_VERSION=${CONTAINERD_VERSION} --build-arg ROOTLESSKIT_VERSION=${ROOTLESSKIT_VERSION} . |
290 | 290 | - name: "Disable BuildKit for RootlessKit v1 (workaround for issue #622)" |
291 | 291 | run: | |
|
0 commit comments