mirror of
https://github.com/tektoncd/catalog.git
synced 2024-11-21 05:55:35 +00:00
1c7fd558fd
few Tasks still uses PipelineResources which is no longer available in latest version of pipelines hence marking them as deprecated Signed-off-by: vinamra28 <jvinamra776@gmail.com> |
||
---|---|---|
.. | ||
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://api.hub.tekton.dev/v1/resource/tekton/task/buildkit-daemonless/0.1/raw
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
)
Platforms
The Task can be run on linux/amd64
platform.