Codefresh Steps: Reusable Code for Common Operations
This page provides code you can use to perform common operations in the Codefresh CI/CD platform.
Enrich codefresh image with PRs and Issues info image-enricher
Enrich codefresh image with PRs and Issues info
arguments
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