Skip to content

Commit 6ffbeb5

Browse files
committed
Add PR number to Image Build Tag
1 parent c338aee commit 6ffbeb5

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.tekton/foreman-proxy-develop-push.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -459,6 +459,8 @@ spec:
459459
value: $(tasks.build-image-index.results.IMAGE_URL)
460460
- name: IMAGE_DIGEST
461461
value: $(tasks.build-image-index.results.IMAGE_DIGEST)
462+
- name: ADDITIONAL_TAGS
463+
value: $(params.additional-tags[pull-request-{{pull_request_number}}])
462464
runAfter:
463465
- build-image-index
464466
taskRef:

0 commit comments

Comments
 (0)