@@ -2,7 +2,7 @@ kind: step-type
2
2
version : ' 1.0'
3
3
metadata :
4
4
name : codefresh-report-image
5
- version : 1.0.2
5
+ version : 1.0.3
6
6
isPublic : true
7
7
description : Report Docker Image Metadata to Codefresh CD
8
8
sources :
@@ -29,7 +29,7 @@ metadata:
29
29
arguments :
30
30
CF_API_KEY : codefresh-cd-api-token
31
31
CF_IMAGE : docker.io/${{CF_REPO_OWNER}}/${{CF_REPO_NAME}}:${{CF_REVISION}}
32
- CF_HOST : https:// codefresh.mydomain.com
32
+ CF_RUNTIME_NAME : codefresh-hosted
33
33
- description : report-image-metadata-all
34
34
workflow :
35
35
ReportImageMetadataAll :
@@ -39,7 +39,7 @@ metadata:
39
39
arguments :
40
40
CF_API_KEY : codefresh-cd-api-token
41
41
CF_IMAGE : docker.io/${{CF_REPO_OWNER}}/${{CF_REPO_NAME}}:${{CF_REVISION}}
42
- CF_HOST : https:// codefresh.mydomain.com
42
+ CF_RUNTIME_NAME : codefresh-hosted
43
43
CF_ENRICHERS : ${{CF_ENRICHERS}}
44
44
CF_GITHUB_TOKEN : ${{GITHUB_TOKEN}}
45
45
CF_GIT_PROVIDER : github
60
60
"patterns": [],
61
61
"required": [
62
62
"CF_API_KEY",
63
- "CF_IMAGE",
64
- "CF_HOST"
63
+ "CF_IMAGE"
65
64
],
66
65
"properties": {
67
66
"CF_API_KEY": {
@@ -109,6 +108,10 @@ spec:
109
108
"type": "string",
110
109
"description": "Codefresh Runtime Ingress URL. (ie. https://codefresh.mycompany.com)"
111
110
},
111
+ "CF_RUNTIME_NAME": {
112
+ "type": "string",
113
+ "description": "Name of runtime to implement the enrichment"
114
+ },
112
115
"CF_JIRA_API_TOKEN": {
113
116
"type": "string",
114
117
"description": "When no jira integration is specified: Jira token for authenticating."
@@ -186,6 +189,7 @@ spec:
186
189
environment:
187
190
- CF_CI_TYPE=classic
188
191
- CF_WORKFLOW_URL=${{CF_BUILD_URL}}
192
+ - CF_WORKFLOW_NAME=${{CF_PIPELINE_NAME}}
189
193
[[ range $key, $val := .Arguments ]]
190
194
- '[[ $key ]]=[[ $val ]]'
191
195
[[- end ]]
0 commit comments