terug naar start

This commit is contained in:
2020-02-27 11:07:34 +01:00
parent 0df60a3d4d
commit ed479f3f04
10 changed files with 36525 additions and 5 deletions

View File

@@ -31,6 +31,16 @@ spec:
- name: pathToContext-b
description: The path to the build context, used by Kaniko - within the workspace
default: .
- name: imageUrl-c
description: Url of image repository
default: deploy_target
- name: imageTag-c
description: Tag to apply to the built image
default: latest
- name: pathToContext-c
description: The path to the build context, used by Kaniko - within the workspace
default: .
tasks:
- name: build-and-push-a
taskRef:
@@ -62,11 +72,23 @@ spec:
inputs:
- name: git-source
resource: git-source
- name: build-and-push-c
taskRef:
name: build-and-push
runAfter:
- build-and-push-b
params:
- name: pathToContext
value: "$(params.pathToContext-c)"
- name: imageUrl
value: "$(params.imageUrl-c)"
- name: imageTag
value: "$(params.imageTag-c)"
- name: deploy-application
taskRef:
name: deploy-application
runAfter:
- build-and-push-b
- build-and-push-c
params:
- name: pathToContext
value: "."