apiVersion: tekton.dev/v1beta1 kind: Pipeline metadata: name: imagebuild spec: description: | This pipeline clones a git repo, then echoes the README file to the stout. params: - name: url type: string description: The git repo URL to clone from. - name: revision type: string description: The git repo branch to checkout. - name: image type: string description: The image to build. - name: apiurl type: string description: The gitea api url. - name: requesttype type: string description: The gitea request type = pullrequet or release - name: requestid type: string description: The gitea request id. - name: access_token type: string description: The gitea access_token id. - name: dockerfile type: string description: Path to the Dockerfile to build. workspaces: - name: shared-data - name: config - name: docker-credentials tasks: - name: portal pipelineRef: name: imagebuild params: - name: dockerfile value: misc/k8s/images/portal - name: image value: reg.cadoles.com/portal - name: job-base pipelineRef: name: imagebuild params: - name: dockerfile value: misc/k8s/images/job-base - name: image value: reg.cadoles.com/job-base - name: mock pipelineRef: name: imagebuild params: - name: dockerfile value: misc/k8s/images/mock - name: image value: reg.cadoles.com/mock - name: ines pipelineRef: name: imagebuild params: - name: dockerfile value: misc/k8s/images/ines - name: image value: reg.cadoles.com/ines - name: shibboleth-sp pipelineRef: name: imagebuild params: - name: dockerfile value: misc/k8s/images/sp - name: image value: reg.cadoles.com/shibboleth-sp - name: hydra-dispatcher-mse-theme pipelineRef: name: imagebuild params: - name: dockerfile value: misc/k8s/images/hydra-dispatcher-mse-theme - name: image value: reg.cadoles.com/hydra-dispatcher-mse-theme - name: hydra-sql-mse-theme pipelineRef: name: imagebuild params: - name: dockerfile value: misc/k8s/images/hydra-sql-mse-theme - name: image value: reg.cadoles.com/hydra-sql-mse-theme