This image allows you to enrich images reported to Codefresh GitOps Platform. Using this action you are able to report an image to Codefresh and enrich it with valuable information that will be displayed in Codefresh dashboards.
- Name
- Size
- Operating System and Architecture
- Last Updated date
Commit that resulted in the image being built
- Repository + Branch
- Commit Message
- Committer
- Image Size
- Link to Job
- Issue ID
- Title
- Assigned to
- Status
- name: report image by action
with:
CF_HOST: "https://my-runtime-url"
CF_API_KEY: ${{ secrets.CF_TOKEN }}
#Codefresh Integrations to USE
CF_CONTAINER_REGISTRY_INTEGRATION: "dockerhub"
CF_JIRA_INTEGRATION: "jira"
CF_IMAGE: ${{ secrets.DOCKERHUB_USERNAME }}/my-image-name:tag
CF_GITHUB_TOKEN: ${{ secrets.GIT_TOKEN }}
#Jira issues that match
CF_JIRA_MESSAGE: "CR-12293"
CF_JIRA_PROJECT_PREFIX: "CR"
uses: codefresh-io/codefresh-report-image@latest
-
- description: Name of runtime to implement the enrichment
- required
- ["example",["https://codefresh.yourdoamin.com:80"]]
- default: [runtime_host_url]
-
- description: Codefresh API key
- required
- secret
-
- description: Image path to enrich
- required
- ["examples",["mydockerhub/pushedimage:fix"]]
- default: [full image path here, including tag]
-
- description: Name of Container registry integration
-
- description: The reported URL of the workflow that builds the image.
- ["examples",["https://github.com/saffi-codefresh/csdp-report-image-github-action/actions/runs/2389116616"]]
- default: [URL of the workflow that builds the image]
-
- description: The name assigned to the workflow that builds the image. When defined, the name is displayed in the Codefresh platform.
- ["examples",["Staging build step"]]
-
- description: Name of integration type, used for filtering results by the reporting tool type
- ["examples",["git-action","classic","jenkins",""]]
-
- description: The git branch which is related for the commit
-
- description: The the git repository used for building the image
- required
-
- description: The git integration type use (i.e. github)
- required
-
- description: GitHub Access token
- required
- ["examples",["ghp_vVvA6oh5iCO...."]]
- secret
- default: [github-personal-access-token]
-
- description: Specify github host api url
- ["examples",["https://api.github.com"]]
-
- description: When explicit authentication used: For gitlab use, authenticate with a gitlab-token
- required
- ["examples",["glpat-CzJ...."]]
- secret
-
- description: Specify gitlab host url
- ["examples",["https://gitlab.com"]]
-
- description: Bitbucket username
- required
-
- description: Bitbucket password
- required
- secret
-
- description: Bitbucket server username
- required
-
- description: Bitbucket server password
- required
- secret
-
- description: Bitbucket server host url
- required
- ["examples",["https://bitbucket-server:7990"]]
-
- description: Name of Jira integration
- default: [jira-registry-integration-name]
-
- description: Jira project filter
- required
- ["examples",["CR"]]
- default: [jira-project-prefix]
-
- description: String starting with the issue ID to associate with image
- required
- ["examples",["fix CR-11312 "]]
- default: [issue id]
-
- description: When enabled, Fail the image report when the specified Jira issue is not found.
- ["examples",["true"]]