Files
kubernetes/dev/tekton/examples/buildah/medium/pipeline.yaml
2025-11-23 18:58:51 +01:00

33 lines
767 B
YAML
Executable File

apiVersion: tekton.dev/v1beta1
kind: Pipeline
metadata:
name: tutorial-pipeline
spec:
workspaces:
- name: myworkspace
tasks:
- name: fetch-repository
taskRef:
name: git-clone
workspaces:
- name: output
workspace: myworkspace
params:
- name: url
value: https://github.com/AllardKrings/helloallard.git
- name: deleteExisting
value: "true"
- name: build
taskRef:
name: buildah
runAfter:
- fetch-repository
params:
- name: IMAGE
value: harbor.alldcs.nl/allard/helloallard
- name: IMAGE_PUSH_SECRET_NAME
value: harbor-credentials
workspaces:
- name: source
workspace: myworkspace