From bfa6d169e3c9a30866ad2b6a8d8c132aebc21f82 Mon Sep 17 00:00:00 2001 From: Tom Alexander Date: Sun, 23 Feb 2025 13:06:38 -0500 Subject: [PATCH] Add the buildkit-cache workspace at a dummy mount point. --- .../0.1/buildkit-rootless-daemonless.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/task/buildkit-rootless-daemonless/0.1/buildkit-rootless-daemonless.yaml b/task/buildkit-rootless-daemonless/0.1/buildkit-rootless-daemonless.yaml index c116cdc..c818c0b 100644 --- a/task/buildkit-rootless-daemonless/0.1/buildkit-rootless-daemonless.yaml +++ b/task/buildkit-rootless-daemonless/0.1/buildkit-rootless-daemonless.yaml @@ -22,6 +22,11 @@ spec: description: Includes credentials for the docker image registry. optional: true mountPath: /home/user/.docker + - name: buildkit-cache + description: For preserving buildkit type=cache mounts between builds. + optional: true + mountPath: /home/user/.local/share/foo + # mountPath: /home/user/.local/share/buildkit params: - name: OUTPUT type: string