1
0
mirror of https://github.com/tektoncd/catalog.git synced 2024-11-21 05:55:35 +00:00
catalog/task/buildkit-daemonless/0.1
vinamra28 1c7fd558fd Deprecate tasks which are using PipelineResources
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>
2023-09-27 12:52:25 +01:00
..
buildkit-daemonless.yaml Deprecate tasks which are using PipelineResources 2023-09-27 12:52:25 +01:00
README.md [TEP-0110] Update Tekton Catalog installation instructions 2022-08-16 16:25:52 +01:00

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-type PipelineResource specifying the image that should be built. Currently, generating resourceResult is not supported. (buildkit#993)

Platforms

The Task can be run on linux/amd64 platform.