mirror of
https://github.com/bvanroll/cicdTest.git
synced 2025-08-29 20:12:43 +00:00
21 lines
461 B
YAML
21 lines
461 B
YAML
apiVersion: tekton.dev/v1alpha1
|
|
kind: TaskRun
|
|
metadata:
|
|
name: test-run
|
|
spec:
|
|
serviceAccountName: tutorial-service
|
|
taskRef:
|
|
name: build-and-push
|
|
inputs:
|
|
resources:
|
|
- name: git-source
|
|
resourceRef:
|
|
name: git
|
|
params:
|
|
- name: pathToContext
|
|
value: /serverA/ #configure: may change according to your source
|
|
- name: imageUrl
|
|
value: "server-a"
|
|
- name: imageTag
|
|
value: "latest"
|