This commit is contained in:
2025-08-04 06:26:23 +00:00
parent 7dc67ca8ac
commit e6c919ec2f
13 changed files with 242 additions and 98 deletions

View File

@ -0,0 +1,31 @@
apiVersion: tekton.dev/v1beta1
kind: Pipeline
metadata:
name: pipeline-build
namespace: tekton-demo
spec:
params:
- name: IMAGE
type: string
- name: GIT_URL
type: string
- name: GIT_REVISION
type: string
default: main
workspaces:
- name: shared-data
tasks:
- name: build
taskRef:
name: build-image
params:
- name: IMAGE
value: $(params.IMAGE)
- name: GIT_URL
value: $(params.GIT_URL)
- name: GIT_REVISION
value: $(params.GIT_REVISION)
workspaces:
- name: source
workspace: shared-data