Added git refspec so tags are available for build

This commit is contained in:
Ben Wilson 2020-06-17 12:11:40 -04:00
parent 3f6a13c4f6
commit addbf5342f
1 changed files with 7 additions and 2 deletions

View File

@ -27,6 +27,8 @@ spec:
value: $(params.tagName)
- name: url
value: $(params.gitRepositoryURL)
- name: refspec
value: "+refs/tags/*:refs/remotes/origin/tags/*"
- name: lightwalletd-image
resourceSpec:
type: image
@ -34,8 +36,11 @@ spec:
- name: url
value: electriccoinco/lightwalletd:$(params.tagName)
- name: cloudlog
resourceRef:
name: cloudlog
resourceSpec:
type: cloudEvent
params:
- name: targetURI
value: http://cloudlog:8080/inbox
params:
- name: gitRepositoryURL
value: $(params.gitRepositoryURL)