new-go-app/.tekton/pipeline.yaml
Scaffolder 985fffcb8b initial commit
Change-Id: I3b5927ebd95850e39277c110434ca77965cb953f
2026-05-20 16:57:56 +00:00

25 lines
730 B
YAML

# Reuses the cluster-wide build-sign-deploy Pipeline in the demo-secure namespace.
# To run on every push, install OpenShift Pipelines as Code or fire the EventListener
# in demo-secure with the right git-revision.
apiVersion: tekton.dev/v1
kind: PipelineRun
metadata:
generateName: new-go-app-
namespace: new-go-app
spec:
pipelineRef:
name: build-sign-deploy
namespace: demo-secure
serviceAccountName: pipeline
params:
- name: image
value: image-registry.openshift-image-registry.svc:5000/new-go-app/new-go-app:latest
workspaces:
- name: source
volumeClaimTemplate:
spec:
accessModes: [ReadWriteOnce]
resources:
requests:
storage: 2Gi