mirror of
https://github.com/tektoncd/catalog.git
synced 2024-11-24 06:15:46 +00:00
3f58e7b6d8
Signed-off-by: Vincent Demeester <vdemeest@redhat.com>
19 lines
424 B
YAML
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)"]
|