Compare commits
1 Commits
bfa6d169e3
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
af22c87d0d
|
@@ -22,11 +22,6 @@ 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
|
||||||
@@ -45,8 +40,7 @@ spec:
|
|||||||
- name: BUILDER_IMAGE
|
- name: BUILDER_IMAGE
|
||||||
type: string
|
type: string
|
||||||
description: Docker image containing BuildKit.
|
description: Docker image containing BuildKit.
|
||||||
default: "moby/buildkit:v0.17.0-rc1-rootless"
|
default: "moby/buildkit:v0.29.0-rootless"
|
||||||
# or v0.16.0-rootless
|
|
||||||
- name: EXTRA_ARGS
|
- name: EXTRA_ARGS
|
||||||
type: array
|
type: array
|
||||||
description: Arguments passed to the build command.
|
description: Arguments passed to the build command.
|
||||||
@@ -93,7 +87,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/buildkittwo
|
mountPath: /home/user/.local/share/buildkit
|
||||||
- name: buildkitd-toml
|
- name: buildkitd-toml
|
||||||
mountPath: /home/user/.config/buildkit
|
mountPath: /home/user/.config/buildkit
|
||||||
securityContext:
|
securityContext:
|
||||||
@@ -118,7 +112,7 @@ spec:
|
|||||||
- $(params.EXTRA_ARGS)
|
- $(params.EXTRA_ARGS)
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: buildkitd
|
- name: buildkitd
|
||||||
mountPath: /home/user/.local/share/buildkittwo
|
mountPath: /home/user/.local/share/buildkit
|
||||||
- name: buildkitd-toml
|
- name: buildkitd-toml
|
||||||
mountPath: /home/user/.config/buildkit
|
mountPath: /home/user/.config/buildkit
|
||||||
readOnly: true
|
readOnly: true
|
||||||
|
|||||||
Reference in New Issue
Block a user