1
0
mirror of https://github.com/tektoncd/catalog.git synced 2024-11-24 06:15:46 +00:00
catalog/gcloud/gcloud.yaml
Vincent Demeester 3f58e7b6d8 Port gcloud to v1beta1 🦇
Signed-off-by: Vincent Demeester <vdemeest@redhat.com>
2020-03-06 07:49:46 -06:00

19 lines
424 B
YAML

apiVersion: tekton.dev/v1beta1
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"]
steps:
- name: gcloud
image: "$(params.gcloud-image)"
command: ["/usr/bin/gcloud"]
args: ["$(params.ARGS)"]