Skip to content
tektoncd-catalogPublic

About

Tekton official git-clone Catalog

Resources

Code of conduct

Contributing

Stars

2 stars

Watchers

1 watching

Forks

Latest commit

 

History

176 Commits

Folders and files

Repository files navigation

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.1
    - 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

Code of conduct

Contributing

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages