File tree 2 files changed +14
-1
lines changed
2 files changed +14
-1
lines changed Original file line number Diff line number Diff line change 62
62
type : string
63
63
default : " "
64
64
65
+ - name : tag-prefix
66
+ description : Prefix added to additional tags
67
+ type : string
68
+ default : " "
69
+
65
70
results :
66
71
- name : IMAGE_URL
67
72
description : " "
@@ -361,6 +366,10 @@ spec:
361
366
params :
362
367
- name : IMAGE
363
368
value : $(tasks.build-container.results.IMAGE_URL)
369
+
370
+ - name : ADDITIONAL_TAGS
371
+ value :
372
+ - $(params.tag-prefix)$(tasks.clone-repository.results.short-commit)
364
373
runAfter :
365
374
- build-container
366
375
taskRef :
@@ -442,3 +451,4 @@ spec:
442
451
443
452
- name : kind
444
453
value : task
454
+
Original file line number Diff line number Diff line change 27
27
value : ' {{ revision }}'
28
28
29
29
- name : output-image
30
- value : quay.io/redhat-user-workloads/cost-mgmt-dev-tenant/koku-daily:pr-{{ pull_request_number }}
30
+ value : quay.io/redhat-user-workloads/cost-mgmt-dev-tenant/koku-daily:pr-{{ pull_request_number }}-latest
31
31
32
32
- name : image-expires-after
33
33
value : 5d
38
38
- name : path-context
39
39
value : .
40
40
41
+ - name : tag-prefix
42
+ value : pr-{{ pull_request_number }}-
43
+
41
44
pipelineRef :
42
45
name : pipeline-build
43
46
You can’t perform that action at this time.
0 commit comments