85.3K

Enrich codefresh image with PRs and Issues info image-enricher

Enrich codefresh image with PRs and Issues info

arguments

  • BRANCH - Branch
  • GITHUB_HOST - Support on-premises github host, by default github.com
  • GIT_PROVIDER_NAME - Name of git provider to use from Codefresh integrations screen
  • IMAGE - Image sha
  • REPO - repo-owner/repo-name
    build:
  title: Building Docker image
  type: build
  image_name: 'codefresh/${{CF_REPO_NAME}}'
  tag: '${{PACKAGE_VERSION}}'
  dockerfile: Dockerfile
enrich-image:
  title: Enrich image with annotations
  type: image-enricher
  arguments:
    IMAGE: 'gcr.io/codefresh-inc/codefresh/${{CF_REPO_NAME}}'
    BRANCH: '${{CF_BRANCH}}'
    REPO: 'codefresh/${{CF_REPO_NAME}}'
    GIT_PROVIDER_NAME: github

  
github.com
Pavel Kostohrys
Jul 4, 2021