Skip to content

Commit 6821bc3

Browse files
update steps (#568)
1 parent 6734dbd commit 6821bc3

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

incubating/codefresh-report-image/step.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ kind: step-type
22
version: '1.0'
33
metadata:
44
name: codefresh-report-image
5-
version: 1.0.6
5+
version: 1.0.7
66
isPublic: true
77
description: Report Docker Image Metadata to Codefresh CD
88
sources:
@@ -45,6 +45,7 @@ metadata:
4545
CF_GIT_PROVIDER: github
4646
CF_GIT_REPO: ${{CF_REPO_OWNER}}/${{CF_REPO_NAME}}
4747
CF_GIT_BRANCH: ${{CF_BRANCH}}
48+
CF_GIT_REVISION: ${{CF_REVISION}}
4849
CF_JIRA_API_TOKEN: ${{JIRA_TOKEN}}
4950
CF_JIRA_EMAIL: [email protected]
5051
CF_JIRA_HOST_URL: https://codefresh-io.atlassian.net
@@ -116,6 +117,10 @@ spec:
116117
"type": "string",
117118
"description": "The the git repository used for building the image."
118119
},
120+
"CF_GIT_REVISION": {
121+
"type": "string",
122+
"description": "The commit sha"
123+
},
119124
"CF_GITHUB_API_HOST_URL": {
120125
"type": "string",
121126
"description": "Specify github host api url."

incubating/image-enricher/step.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ kind: step-type
33
metadata:
44
name: image-enricher
55
title: Enrich codefresh image with PRs and Issues info
6-
version: 1.3.1
6+
version: 1.3.2
77
isPublic: true
88
description: Enrich codefresh image with PRs and Issues info
99
sources:
@@ -72,6 +72,11 @@ spec:
7272
"description": "repo-owner/repo-name",
7373
"examples": ["codefresh-plugins/github-enricher"]
7474
},
75+
"REVISION": {
76+
"type": "string",
77+
"description": "Commit sha",
78+
"examples": ["ec8cdced58869a9cbd315a1297a702bbd744a9ed"]
79+
},
7580
"GIT_PROVIDER_NAME": {
7681
"type": "string",
7782
"description": "Name of git provider to use from Codefresh integrations screen"
@@ -93,5 +98,6 @@ spec:
9398
- IMAGE_SHA=${{IMAGE}}
9499
- BRANCH=${{BRANCH}}
95100
- REPO=${{REPO}}
101+
- REVISION=${{REVISION}}
96102
- GITHUB_HOST=${{GITHUB_HOST}}
97103
- GIT_PROVIDER_NAME=${{GIT_PROVIDER_NAME}}

0 commit comments

Comments
 (0)