1 Commits

Author SHA1 Message Date
Tom Alexander
af22c87d0d Update the buildkit task. 2026-05-02 22:15:52 -04:00

View File

@@ -22,11 +22,6 @@ 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
@@ -45,8 +40,7 @@ spec:
- name: BUILDER_IMAGE
type: string
description: Docker image containing BuildKit.
default: "moby/buildkit:v0.17.0-rc1-rootless"
# or v0.16.0-rootless
default: "moby/buildkit:v0.29.0-rootless"
- name: EXTRA_ARGS
type: array
description: Arguments passed to the build command.
@@ -93,7 +87,7 @@ spec:
chmod +x /home/user/.config/buildkit/entrypoint.sh
volumeMounts:
- name: buildkitd
mountPath: /home/user/.local/share/buildkittwo
mountPath: /home/user/.local/share/buildkit
- name: buildkitd-toml
mountPath: /home/user/.config/buildkit
securityContext:
@@ -118,7 +112,7 @@ spec:
- $(params.EXTRA_ARGS)
volumeMounts:
- name: buildkitd
mountPath: /home/user/.local/share/buildkittwo
mountPath: /home/user/.local/share/buildkit
- name: buildkitd-toml
mountPath: /home/user/.config/buildkit
readOnly: true