Compare commits

...

2 Commits

Author SHA1 Message Date
Tom Alexander
bfa6d169e3
Add the buildkit-cache workspace at a dummy mount point. 2025-02-23 13:06:38 -05:00
Tom Alexander
e2ee912556
Change mount for buildkitd. 2025-02-23 13:05:37 -05:00

View File

@ -22,6 +22,11 @@ spec:
description: Includes credentials for the docker image registry. description: Includes credentials for the docker image registry.
optional: true optional: true
mountPath: /home/user/.docker 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: params:
- name: OUTPUT - name: OUTPUT
type: string type: string
@ -88,7 +93,7 @@ spec:
chmod +x /home/user/.config/buildkit/entrypoint.sh chmod +x /home/user/.config/buildkit/entrypoint.sh
volumeMounts: volumeMounts:
- name: buildkitd - name: buildkitd
mountPath: /home/user/.local/share/buildkit mountPath: /home/user/.local/share/buildkittwo
- name: buildkitd-toml - name: buildkitd-toml
mountPath: /home/user/.config/buildkit mountPath: /home/user/.config/buildkit
securityContext: securityContext:
@ -113,7 +118,7 @@ spec:
- $(params.EXTRA_ARGS) - $(params.EXTRA_ARGS)
volumeMounts: volumeMounts:
- name: buildkitd - name: buildkitd
mountPath: /home/user/.local/share/buildkit mountPath: /home/user/.local/share/buildkittwo
- name: buildkitd-toml - name: buildkitd-toml
mountPath: /home/user/.config/buildkit mountPath: /home/user/.config/buildkit
readOnly: true readOnly: true