mirror of
https://github.com/tektoncd/catalog.git
synced 2024-11-24 06:15:46 +00:00
e294e1246b
Prior to this change, the installation instructions directly use the resource urls in the Catalog repo, which results in tight coupling between the organization and how users fetch resources (as described in TEP-0110). This commit updates the installation guide to install Tekton Catalog resources via Tekton Hub Api: https://github.com/tektoncd/hub/pull/539 This change decouples the Tekton Catalog organization from resouces resolution, which enables Tekton Catalog reorganization.
1.6 KiB
1.6 KiB
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.