mirror of
https://github.com/bvanroll/cicdTest.git
synced 2025-08-29 12:02:47 +00:00
hel
This commit is contained in:
@@ -83,4 +83,4 @@ spec:
|
||||
resources:
|
||||
inputs:
|
||||
- name: git-source
|
||||
resource: git-source
|
||||
resource: git-source
|
||||
|
@@ -16,14 +16,15 @@ spec:
|
||||
- name: pathToContext
|
||||
value: "."
|
||||
- name: imageUrl-a
|
||||
value: "beppeserver-a"
|
||||
value: "gs://BUCKETNAME/server-a"
|
||||
- name: imageTag-a
|
||||
value: "beppeserver-a-tag"
|
||||
value: "release"
|
||||
- name: pathToContext-a
|
||||
value: "./serverA"
|
||||
- name: imageUrl-b
|
||||
value: "beppeserver-b"
|
||||
value: "gs://BUCKETNAME/server-b"
|
||||
- name: imageTag-b
|
||||
value: "beppeserver-b-tag"
|
||||
value: "release"
|
||||
- name: pathToContext-b
|
||||
value: "./serverB"
|
||||
value: "./serverB"
|
||||
|
||||
|
@@ -9,4 +9,4 @@ spec:
|
||||
- name: revision
|
||||
value: master
|
||||
- name: url
|
||||
value: https://github.com/beppevanrolleghem/cicdTest
|
||||
value: git://github.com/beppevanrolleghem/cicdTest
|
@@ -27,4 +27,7 @@ spec:
|
||||
args:
|
||||
- "--dockerfile=dockerfile"
|
||||
- "--destination=$(inputs.params.imageUrl):$(inputs.params.imageTag)"
|
||||
- "--context=$(inputs.resources.git-source.path)/$(inputs.params.pathToContext)/"
|
||||
- "--context=$(inputs.resources.git-source.path)/$(inputs.params.pathToContext)/"
|
||||
volumeMounts:
|
||||
- name: docker-config
|
||||
mountPath: /kaniko/.docker/
|
||||
|
Reference in New Issue
Block a user