wordpress-7-fpm/pipeline/pipeline.yaml

33 lines
881 B
YAML

apiVersion: tekton.dev/v1alpha1
kind: Pipeline
metadata:
name: cdci-wordpress-7-fpm
namespace: cdci-librecloud-online
spec:
#serviceAccount: build-bot
resources:
- name: source-repo
type: git
#resourceRef:
# name: librecloud-wordpress-7-fpm-git
- name: target-image
type: image
#resourceRef:
# name: librecloud-wordpress-7-fpm-img
tasks:
- name: build-wordpress-7-fpm-img
taskRef:
name: wordpress-7-fpm-build-image-from-git-source
params:
- name: pathToDockerFile
value: /workspace/source/src
- name: pathToContext
value: /workspace/source/src #configure: may change according to your source
resources:
inputs:
- name: source
resource: source-repo
outputs:
- name: builtImage
resource: target-image