This repository contains the git-clone Task and StepAction for Tekton Pipelines, providing Git repository cloning capabilities.
Install the Task directly:
kubectl apply -f https://raw.githubusercontent.com/tektoncd-catalog/git-clone/main/task/git-clone/git-clone.yamlOr use a Tekton Bundle with the bundle resolver:
taskRef:
resolver: bundles
params:
- name: bundle
value: ghcr.io/tektoncd-catalog/git-clone/bundle:v1.7.0
- name: name
value: git-clone
- name: kind
value: taskapiVersion: tekton.dev/v1
kind: TaskRun
metadata:
generateName: git-clone-
spec:
taskRef:
name: git-clone
podTemplate:
securityContext:
fsGroup: 65532
workspaces:
- name: output
emptyDir: {}
params:
- name: url
value: https://github.com/tektoncd-catalog/git-clone- Task reference — full parameter, workspace, and authentication docs (browse on Artifact Hub)
- StepAction reference — composable step version (browse on Artifact Hub)
- DEVELOPMENT.md — architecture, generation, testing, and release process
- CONTRIBUTING.md — contribution workflow and CI expectations
- AGENTS.md — quick reference for AI coding agents
To build the git-init image:
cd image/git-init
ko build --local .