Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
33 lines (33 sloc) 679 Bytes
apiVersion: tekton.dev/v1alpha1
kind: Task
metadata:
name: jsonnet
spec:
inputs:
resources:
- name: workspace
type: git
targetPath: .
- name: image
type: image
params:
- name: path
description: Path to jsonnet file
- name: outputPath
description: Path to output json file
steps:
- name: build-jsonnet
image: mexisme/jsonnet
command: ["/jsonnet"]
args:
- "-V"
- "image=${inputs.resources.image.url}"
- "-o"
- "${inputs.params.outputPath}"
- "${inputs.params.path}"
securityContext:
runAsUser: 0 # root
outputs:
resources:
- name: workspace
type: git
You can’t perform that action at this time.