Skip to content

tektoncd-catalog/git-clone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

152 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Git Clone Task for Tekton

Artifact Hub Tasks Artifact Hub StepActions

This repository contains the git-clone Task and StepAction for Tekton Pipelines, providing Git repository cloning capabilities.

Installation

Install the Task directly:

kubectl apply -f https://raw.githubusercontent.com/tektoncd-catalog/git-clone/main/task/git-clone/git-clone.yaml

Or 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: task

Quick Start

apiVersion: 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

Documentation

Building

To build the git-init image:

cd image/git-init
ko build --local .

About

Tekton official git-clone Catalog

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors