import-image

Import metadata for existing Docker images into Codefresh

Arguments

  • CF_API_TOKEN * - Codefresh API Token (required)
  • CF_URL - Codefresh URL, for example https://g.codefresh.io (required)
  • IMAGES * - list of comma separated image names (with tags)(required)
  • PASSWORD * - Docker registry password (optional)
  • REGISTRY * - registry DNS name (including port if needed, default to `docker.io`)
  • USERNAME * - Docker registry user name (optional)
    version: '1.0'
steps:
  import_images:
    type: import-image
    title: Importing images ...
    description: import Docker images form external registry
    arguments:
      IMAGES: '${{IMAGES}}'
      REGISTRY: '${{REGISTRY}}'
      USERNAME: '${{USERNAME}}'
      PASSWORD: '${{PASSWORD}}'
      CF_API_TOKEN: '${{CF_API_TOKEN}}'

  
github.com
Alexei Ledenev
Sep 18, 2019