mirror of
https://github.com/tektoncd/catalog.git
synced 2024-11-26 06:23:37 +00:00
f3ebc33423
We don't really have a concept in Tekton of something called a "Workspace volume", but multiple READMEs now refer to it. This commit removes the term "Workspace volume" in favor of simply "Workspace". |
||
---|---|---|
.. | ||
buildkit-daemonless.yaml | ||
README.md |
BuildKit (Daemonless)
This Task builds source into a container image using Moby BuildKit.
This buildkit-daemonless
Task is similar to buildkit
but does not need creating Secret
, Deployment
, and Service
resources for setting up the buildkitd
daemon cluster.
buildkit |
buildkit-daemonless |
|
---|---|---|
Difficulty | Hard | Easy |
Supports Rootless | Yes | No (BuildKit per se supports, but Tekton doesn't support) |
Cache | Registry+Local | Registry |
Install
$ kubectl apply -f https://raw.githubusercontent.com/tektoncd/catalog/master/task/buildkit-daemonless/0.1/buildkit-daemonless.yaml
task.tekton.dev/buildkit-daemonless created
Parameters
- DOCKERFILE: The path to the
Dockerfile
to execute (default:./Dockerfile
) - BUILDKIT_IMAGE: BuildKit image (default:
moby/buildkit:vX.Y.Z@sha256:...
)
Workspaces
- source: A Workspace containing the source to build.
Resources
Outputs
- image: An
image
-typePipelineResource
specifying the image that should be built. Currently, generatingresourceResult
is not supported. (buildkit#993
)