1
0
mirror of https://github.com/tektoncd/catalog.git synced 2024-11-22 06:02:51 +00:00
catalog/buildkit-daemonless
ishani2412 c89d3965b7 Improve Readme.md
PR to improve the Readme.md migrating the install task URL from
master to v1beta1

Signed-off-by: ishani2412 <ishani.1613039@kiet.edu>
2020-06-02 09:03:51 +01:00
..
buildkit-daemonless.yaml buildkit-daemonless: use workspace instead of GitResource 🐐 2020-03-11 07:43:48 -05:00
README.md Improve Readme.md 2020-06-02 09:03:51 +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://raw.githubusercontent.com/tektoncd/catalog/v1beta1/buildkit-daemonless/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 git-type PipelineResource specifying the location of 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)