mirror of
https://github.com/tektoncd/catalog.git
synced 2024-11-25 06:17:50 +00:00
6dd36452c5
Adds a Task to the catalog for the [Tekton CLI](https://github.com/tektoncd/cli).
20 lines
466 B
YAML
20 lines
466 B
YAML
---
|
|
apiVersion: tekton.dev/v1alpha1
|
|
kind: Task
|
|
metadata:
|
|
name: tkn
|
|
spec:
|
|
inputs:
|
|
params:
|
|
- name: tkn-image
|
|
description: tkn CLI container image to run this task
|
|
default: gcr.io/tekton-releases/dogfooding/tkn
|
|
- name: ARGS
|
|
type: array
|
|
description: tkn CLI arguments to run
|
|
steps:
|
|
- name: tkn
|
|
image: "$(inputs.params.tkn-image)"
|
|
command: ["/usr/local/bin/tkn"]
|
|
args: ["$(inputs.params.ARGS)"]
|