@@ -26,23 +26,40 @@ Commit that resulted in the image being built
2626
2727## Example - github-actions
2828 ```
29- - name: report image by action
30- with:
31- CF_RUNTIME_NAME: "codefresh-hosted"
32- CF_API_KEY: ${{ secrets.CF_TOKEN }}
33-
34- #Codefresh Integrations to USE
35- CF_CONTAINER_REGISTRY_INTEGRATION: "dockerhub"
36- CF_JIRA_INTEGRATION: "jira"
37-
38- CF_IMAGE: ${{ secrets.DOCKERHUB_USERNAME }}/my-image-name:tag
39-
40- CF_GITHUB_TOKEN: ${{ secrets.GIT_TOKEN }}
41-
42- #Jira issues that match
43- CF_JIRA_MESSAGE: "CR-12293"
44- CF_JIRA_PROJECT_PREFIX: "CR"
45- uses: codefresh-io/codefresh-report-image@latest
29+
30+ - name: report image
31+ with:
32+ # Name of runtime to implement the enrichment
33+ CF_RUNTIME_NAME: 'codefresh-hosted'
34+
35+ # Codefresh API key !! Committing a plain text token is a security risk. We highly recommend using an encrypted secrets. !!
36+ # Documentation - https://docs.github.com/en/actions/security-guides/encrypted-secrets
37+ CF_API_KEY: ${{ secrets.CF_TOKEN }}
38+
39+ # Image path to enrich
40+ CF_IMAGE: ${{ secrets.DOCKERHUB_USERNAME }}/my-image-name:tag
41+
42+ # Name of Container registry integration
43+ CF_CONTAINER_REGISTRY_INTEGRATION: 'testghjmjhg'
44+
45+ # The git branch which is related for the commit
46+ CF_GIT_BRANCH: '${{ github.ref_name }}'
47+
48+ # GitHub Access token !! Committing a plain text token is a security risk. We highly recommend using an encrypted secrets. !!
49+ # Documentation - https://docs.github.com/en/actions/security-guides/encrypted-secrets
50+ CF_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
51+
52+ # Name of Jira integration
53+ CF_JIRA_INTEGRATION: 'eti-jira'
54+
55+ # Jira project filter
56+ CF_JIRA_PROJECT_PREFIX: 'CR'
57+
58+ # String starting with the issue ID to associate with image
59+ CF_JIRA_MESSAGE: 'CR-12293'
60+
61+
62+ uses: codefresh-io/codefresh-report-image@latest
4663 ```
4764
4865
0 commit comments