Skip to content

Commit c6ebd20

Browse files
andrewschoenbigjust
authored andcommitted
konflux: add additional tags
Signed-off-by: Andrew Schoen <[email protected]>
1 parent 42010a7 commit c6ebd20

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

.tekton/grafana-5-3-pull-request.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ spec:
2424
- name: revision
2525
value: '{{revision}}'
2626
- name: output-image
27-
value: quay.io/rhceph-dev/grafana:on-pr-{{revision}}
27+
value: quay.io/rhceph-dev/grafana:on-pr-v5.3-{{revision}}
2828
- name: image-expires-after
2929
value: 5d
3030
- name: build-platforms
@@ -560,6 +560,12 @@ spec:
560560
value: $(tasks.build-image-index.results.IMAGE_URL)
561561
- name: IMAGE_DIGEST
562562
value: $(tasks.build-image-index.results.IMAGE_DIGEST)
563+
- name: ADDITIONAL_TAGS
564+
value:
565+
- "v5.3"
566+
- "pull-request-{{pull_request_number}}"
567+
- "from-branch-{{source_branch}}"
568+
- "{{target_branch}}-$(tasks.clone-repository.results.commit-timestamp)"
563569
runAfter:
564570
- build-image-index
565571
taskRef:

.tekton/grafana-5-3-push.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ spec:
2323
- name: revision
2424
value: '{{revision}}'
2525
- name: output-image
26-
value: quay.io/rhceph-dev/grafana:{{revision}}
26+
value: quay.io/rhceph-dev/grafana:v5.3-{{revision}}
2727
- name: build-platforms
2828
value:
2929
- linux/x86_64
@@ -557,6 +557,10 @@ spec:
557557
value: $(tasks.build-image-index.results.IMAGE_URL)
558558
- name: IMAGE_DIGEST
559559
value: $(tasks.build-image-index.results.IMAGE_DIGEST)
560+
- name: ADDITIONAL_TAGS
561+
value:
562+
- "v5.3"
563+
- "{{target_branch}}-$(tasks.clone-repository.results.commit-timestamp)"
560564
runAfter:
561565
- build-image-index
562566
taskRef:

0 commit comments

Comments
 (0)