Skip to content

Commit

Permalink
add image tag to step
Browse files Browse the repository at this point in the history
  • Loading branch information
scme0 committed Sep 3, 2024
1 parent 94419f7 commit 12af6c9
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion incubating/test-reporting/step.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ metadata:
branch: ${{CF_BRANCH_TAG_NORMALIZED}}
report_dir: mochawesome-report
report_index_file: mochawesome.html
image_tag: 1.2.0-scmecr-19339add-max-file-upload-argument

spec:
arguments: |-
Expand Down Expand Up @@ -96,13 +97,17 @@ spec:
"cf_api_retries": {
"type": "integer",
"description": "The number of times to retry if a Codefresh API call fails. The default is 0"
},
"image_tag": {
"type": "string",
"description": "The version of test reporting image. The default is 1.2.0"
}
}
}
stepsTemplate: |-
first:
title: Generate test reporting
image: codefresh/cf-docker-test-reporting:1.2.0-scmecr-19339add-max-file-upload-argument
image: codefresh/cf-docker-test-reporting:[[ .Arguments.image_tag ]]
environment:
[[ if .Arguments.allure_dir ]]
- ALLURE_DIR=[[ .Arguments.allure_dir ]]
Expand Down

0 comments on commit 12af6c9

Please sign in to comment.