Skip to content

Commit 12af6c9

Browse files
committed
add image tag to step
1 parent 94419f7 commit 12af6c9

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

incubating/test-reporting/step.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ metadata:
4545
branch: ${{CF_BRANCH_TAG_NORMALIZED}}
4646
report_dir: mochawesome-report
4747
report_index_file: mochawesome.html
48+
image_tag: 1.2.0-scmecr-19339add-max-file-upload-argument
4849

4950
spec:
5051
arguments: |-
@@ -96,13 +97,17 @@ spec:
9697
"cf_api_retries": {
9798
"type": "integer",
9899
"description": "The number of times to retry if a Codefresh API call fails. The default is 0"
100+
},
101+
"image_tag": {
102+
"type": "string",
103+
"description": "The version of test reporting image. The default is 1.2.0"
99104
}
100105
}
101106
}
102107
stepsTemplate: |-
103108
first:
104109
title: Generate test reporting
105-
image: codefresh/cf-docker-test-reporting:1.2.0-scmecr-19339add-max-file-upload-argument
110+
image: codefresh/cf-docker-test-reporting:[[ .Arguments.image_tag ]]
106111
environment:
107112
[[ if .Arguments.allure_dir ]]
108113
- ALLURE_DIR=[[ .Arguments.allure_dir ]]

0 commit comments

Comments
 (0)