codefresh-io/cli

Annotate command unable to find image not prepended with Codefresh Account Name

Opened this issue · 0 comments

Annotate command unable to find images that are not prepended with Codefresh Account name.

Example:
Image: demochat
Tag: my-latest

Results below.

CLI Terminal Example:

$ codefresh get image --image-name demochat --tag my-latest -o yaml
name: demochat
size: 870.06 MB
_id: 0e13ab6d1cb2389fcea4404dbaf017b1f9890c0f
annotations:
  CF_QUALITY: false
tagId: 5cc8ba15a965ad45dd0625fb
created: 2019-04-30T21:11:35.358Z
id: 4c475a8052bb
tag: my-latest
pull: 'r.cfcr.io/dustinvanbuskirk/demochat:my-latest'

$ codefresh annotate image demochat:my-latest -l test=true
Error: Image does not exist

Build Example:
https://g.codefresh.io/build/5cc8badca965ad66260626a9?step=AnnotateImageUsingCLI&tab=output