Skip to content

Commit ddb0216

Browse files
Sachin-Yeshwanthandrewschoen
authored andcommitted
9.0: change rhceph-dev to rhceph-ci and add additional tags
1 parent c77bf8c commit ddb0216

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

.tekton/snmp-notifier-pull-request.yaml

Lines changed: 6 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/snmp-notifier:on-pr-{{revision}}
27+
value: quay.io/rhceph-ci/snmp-notifier:on-pr-v9.0-{{revision}}
2828
- name: image-expires-after
2929
value: 5d
3030
- name: build-platforms
@@ -557,6 +557,11 @@ 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+
- "pull-request-{{pull_request_number}}"
563+
- "from-branch-{{source_branch}}"
564+
- "{{target_branch}}-$(tasks.clone-repository.results.commit-timestamp)"
560565
runAfter:
561566
- build-image-index
562567
taskRef:

.tekton/snmp-notifier-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/snmp-notifier:{{revision}}
26+
value: quay.io/rhceph-ci/snmp-notifier:v9.0-{{revision}}
2727
- name: build-platforms
2828
value:
2929
- linux/x86_64
@@ -552,6 +552,10 @@ spec:
552552
value: $(tasks.build-image-index.results.IMAGE_URL)
553553
- name: IMAGE_DIGEST
554554
value: $(tasks.build-image-index.results.IMAGE_DIGEST)
555+
- name: ADDITIONAL_TAGS
556+
value:
557+
- "v9.0"
558+
- "{{target_branch}}-$(tasks.clone-repository.results.commit-timestamp)"
555559
runAfter:
556560
- build-image-index
557561
taskRef:

0 commit comments

Comments
 (0)