Tag Image

Description

Add an image tag.

Tagging an image will result in the creation of a new Docker Image tag.

Command

codefresh tag <id> [tags..]

Arguments

Option Alias Default Description
id Docker image id
names Tag names

Options

Option Alias Default Description
–help Print help information

Examples

Tag image ‘2dfacdaad466’ with a new tag: ‘1.0.0’

codefresh tag 2dfacdaad466 1.0.0

Tag image ‘2dfacdaad466’ with multiple tags: ‘1.0.0’ and ‘my-tag’

codefresh tag 2dfacdaad466 1.0.0 my-tag