docker laten werken hiermee is zo moeilijk

This commit is contained in:
2020-02-19 14:03:23 +01:00
parent 55256be959
commit c435a2a18c
5 changed files with 43 additions and 38 deletions

View File

@@ -69,9 +69,9 @@ spec:
- build-and-push-b
params:
- name: pathToContext
value: "$(params.pathToContext)"
value: "."
- name: pathToYamlFile
value: "$(params.pathToYamlFile)"
value: "deploy.yaml"
- name: imageUrl-a
value: "$(params.imageUrl-a)"
- name: imageTag-a

View File

@@ -29,5 +29,5 @@ spec:
- /kaniko/executor
args:
- "--dockerfile=dockerfile"
- "--destination=$(inputs.params.imageUrl):$(inputs.params.imageTag)"
- "--destination=beppev/$(inputs.params.imageUrl):$(inputs.params.imageTag)"
- "--context=$(inputs.resources.git-source.path)/$(inputs.params.pathToContext)/"

View File

@@ -50,4 +50,4 @@ spec:
args:
- "apply"
- "-f"
- "$(inputs.resources.git-source.path)/$(inputs.params.pathToContext)/$(inputs.params.pathToYamlFile)"
- "$(inputs.resources.git-source.path)/deploy.yaml"