Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 9 additions & 5 deletions incubating/codefresh-report-image/step.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ kind: step-type
version: '1.0'
metadata:
name: codefresh-report-image
version: 1.0.2
version: 1.0.3
isPublic: true
description: Report Docker Image Metadata to Codefresh CD
sources:
Expand All @@ -29,7 +29,7 @@ metadata:
arguments:
CF_API_KEY: codefresh-cd-api-token
CF_IMAGE: docker.io/${{CF_REPO_OWNER}}/${{CF_REPO_NAME}}:${{CF_REVISION}}
CF_HOST: https://codefresh.mydomain.com
CF_RUNTIME_NAME: codefresh-hosted
- description: report-image-metadata-all
workflow:
ReportImageMetadataAll:
Expand All @@ -39,7 +39,7 @@ metadata:
arguments:
CF_API_KEY: codefresh-cd-api-token
CF_IMAGE: docker.io/${{CF_REPO_OWNER}}/${{CF_REPO_NAME}}:${{CF_REVISION}}
CF_HOST: https://codefresh.mydomain.com
CF_RUNTIME_NAME: codefresh-hosted
CF_ENRICHERS: ${{CF_ENRICHERS}}
CF_GITHUB_TOKEN: ${{GITHUB_TOKEN}}
CF_GIT_PROVIDER: github
Expand All @@ -60,8 +60,7 @@ spec:
"patterns": [],
"required": [
"CF_API_KEY",
"CF_IMAGE",
"CF_HOST"
"CF_IMAGE"
],
"properties": {
"CF_API_KEY": {
Expand Down Expand Up @@ -109,6 +108,10 @@ spec:
"type": "string",
"description": "Codefresh Runtime Ingress URL. (ie. https://codefresh.mycompany.com)"
},
"CF_RUNTIME_NAME": {
"type": "string",
"description": "Name of runtime to implement the enrichment"
},
"CF_JIRA_API_TOKEN": {
"type": "string",
"description": "When no jira integration is specified: Jira token for authenticating."
Expand Down Expand Up @@ -186,6 +189,7 @@ spec:
environment:
- CF_CI_TYPE=classic
- CF_WORKFLOW_URL=${{CF_BUILD_URL}}
- CF_WORKFLOW_NAME=${{CF_PIPELINE_NAME}}
[[ range $key, $val := .Arguments ]]
- '[[ $key ]]=[[ $val ]]'
[[- end ]]
Expand Down