1
0
mirror of https://github.com/tektoncd/catalog.git synced 2024-11-25 06:17:50 +00:00
catalog/tkn/tkn.yaml
Billy Lynch 6dd36452c5 Add tkn to catalog.
Adds a Task to the catalog for the [Tekton CLI](https://github.com/tektoncd/cli).
2019-12-04 05:07:38 -06:00

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)"]