apiVersion: triggers.tekton.dev/v1beta1 kind: TriggerTemplate metadata: name: imagebuild-template spec: params: - name: url - name: revision - name: image - name: tag - name: dockerfile - name: registry - name: apiurl - name: requestid - name: requesttype resourcetemplates: - apiVersion: tekton.dev/v1beta1 kind: PipelineRun metadata: generateName: imagebuild-run- namespace: tekton-pipelines spec: serviceAccountName: build-bot pipelineRef: name: imagebuild podTemplate: securityContext: fsGroup: 65532 workspaces: - name: shared-data volumeClaimTemplate: spec: accessModes: - ReadWriteOnce resources: requests: storage: 1Gi - name: docker-credentials secret: secretName: regcred - name: git-credentials secret: secretName: git-credentials - name: gitea-access-token secret: secretName: gitea-access-token params: - name: url value: $(tt.params.url) - name: revision value: $(tt.params.revision) - name: image value: hydra-sql-theme - name: tag value: $(tt.params.tag) - name: dockerfile value: ./misc/k8s/images/hydra-sql-mse-theme/Dockerfile - name: registry value: $(tt.params.registry) - name: apiurl value: $(tt.params.apiurl) - name: requestid value: $(tt.params.requestid) - name: requesttype value: pullrequest