Skip to content

Commit 9effd8a

Browse files
authored
Deprecate cosign copy (#4681)
Signed-off-by: Zach Steindler <steiza@github.com>
1 parent e64dc88 commit 9effd8a

File tree

3 files changed

+3
-65
lines changed

3 files changed

+3
-65
lines changed

cmd/cosign/cli/copy.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,9 @@ func Copy() *cobra.Command {
2525
o := &options.CopyOptions{}
2626

2727
cmd := &cobra.Command{
28-
Use: "copy",
29-
Short: "Copy the supplied container image and signatures.",
28+
Deprecated: "there are several options you can use instead:\n - \"oras copy -r\" will copy images and referring artifacts\n - \"cosign save\" to write to disk, followed by \"cosign load\" for a new registry\n - \"cosign download\" followed by \"cosign attach\" to just copy the bundle",
29+
Use: "copy",
30+
Short: "Copy the supplied container image and signatures.",
3031
Example: ` cosign copy <source image> <destination image>
3132
3233
# copy a container image and its signatures

doc/cosign.md

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

doc/cosign_copy.md

Lines changed: 0 additions & 62 deletions
This file was deleted.

0 commit comments

Comments
 (0)