File tree Expand file tree Collapse file tree 2 files changed +13
-2
lines changed Expand file tree Collapse file tree 2 files changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ kind: step-type
22version : ' 1.0'
33metadata :
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 : dustin@codefresh.io
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."
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ kind: step-type
33metadata :
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 :
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"
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}}
You can’t perform that action at this time.
0 commit comments