wordpress-7-fpm/pipeline/pipeline.yaml

33 lines
881 B
YAML
Raw Permalink Normal View History

2021-06-29 11:51:05 +00:00
apiVersion: tekton.dev/v1alpha1
kind: Pipeline
metadata:
2021-06-29 12:09:35 +00:00
name: cdci-wordpress-7-fpm
2021-06-29 11:51:05 +00:00
namespace: cdci-librecloud-online
spec:
#serviceAccount: build-bot
resources:
- name: source-repo
type: git
#resourceRef:
2021-06-29 12:09:35 +00:00
# name: librecloud-wordpress-7-fpm-git
2021-06-29 11:51:05 +00:00
- name: target-image
type: image
#resourceRef:
2021-06-29 12:09:35 +00:00
# name: librecloud-wordpress-7-fpm-img
2021-06-29 11:51:05 +00:00
tasks:
2021-06-29 12:09:35 +00:00
- name: build-wordpress-7-fpm-img
2021-06-29 11:51:05 +00:00
taskRef:
2021-06-29 12:09:35 +00:00
name: wordpress-7-fpm-build-image-from-git-source
2021-06-29 11:51:05 +00:00
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