1
0
mirror of https://github.com/tektoncd/catalog.git synced 2024-11-21 05:55:35 +00:00

added stepTemplate to change home directory

This commit is contained in:
Anthony Kugel 2024-07-08 09:03:50 -05:00 committed by tekton-robot
parent 96c4ea272d
commit 4c92c63e92

View File

@ -29,9 +29,13 @@ spec:
description: AWS cli arguments to be passed
type: array
default: ["help"]
stepTemplate:
env:
- name: "HOME"
value: "/tekton/home"
steps:
- name: awscli
image: docker.io/amazon/aws-cli:2.0.52@sha256:1506cec98a7101c935176d440a14302ea528b8f92fcaf4a6f1ea2d7ecef7edc4 #tag: 2.0.52
script: "$(params.SCRIPT)"
script: eval "$(params.SCRIPT)"
args:
- "$(params.ARGS)"
- "$(params.ARGS)"