This repository contains the kaniko Task and StepAction for Tekton Pipelines, providing container image building capabilities using kaniko.
Note: This uses the community-maintained fork of kaniko (osscontainertools/kaniko) since the original Google repository was archived.
Install the Task directly:
kubectl apply -f https://raw.githubusercontent.com/tektoncd-catalog/kaniko/main/task/kaniko/kaniko.yamlOr use a Tekton Bundle with the bundle resolver:
taskRef:
resolver: bundles
params:
- name: bundle
value: ghcr.io/tektoncd-catalog/kaniko/bundle:v1.0.0
- name: name
value: kaniko
- name: kind
value: taskapiVersion: tekton.dev/v1
kind: TaskRun
metadata:
generateName: kaniko-build-
spec:
taskRef:
name: kaniko
workspaces:
- name: source
persistentVolumeClaim:
claimName: my-source
params:
- name: IMAGE
value: registry.example.com/my-image:latest- Task reference — full parameter, workspace, and authentication docs
- StepAction reference — composable step version
- DEVELOPMENT.md — architecture, generation, testing, and release process
- CONTRIBUTING.md — contribution workflow and CI expectations