1
0
mirror of https://github.com/tektoncd/catalog.git synced 2024-11-24 06:15:46 +00:00
catalog/gcloud/gcloud.yaml

19 lines
424 B
YAML
Raw Permalink Normal View History

apiVersion: tekton.dev/v1beta1
2019-09-25 20:11:07 +00:00
kind: Task
metadata:
name: gcloud
spec:
params:
- name: gcloud-image
description: gcloud CLI container image to run this task
default: google/cloud-sdk:slim
- name: ARGS
type: array
description: gcloud CLI arguments to run
default: ["help"]
2019-09-25 20:11:07 +00:00
steps:
- name: gcloud
image: "$(params.gcloud-image)"
2019-09-25 20:11:07 +00:00
command: ["/usr/bin/gcloud"]
args: ["$(params.ARGS)"]