carvel-dev / carvel-dev/imgpkg

The copy command should allow tag to be specified when copying to-repo

Open
#73 4 comments 8 reactions 0 assignees View on GitHub
carvel accepted enhancement
Dominant language
Go
Stars
284
Forks
70
PR merge metrics
No merged PRs in 30d

Description

**Describe the problem/challenge you have**
[A description of the current challenge that you are experiencing.]

Currently I can't specify a tag when using `imgpkg copy -i example/image:tag --to-repo repo.example.com/my/image` so I need to add the tag after looking up the digest and applying it manually

**Describe the solution you'd like**
[A clear and concise description of what you want to happen. If applicable a visual representation of the UX (ex: new CLI argument name, the behavior expected).]

Either support a `:tag` suffix for the `--to-repo` arg or have a separate `--tag` option

**Anything else you would like to add:**
[Additional information that will assist in solving the issue.]

Also the error message when I included the tag isn't the most helpful:

```
Error: Building import repository ref: repository can only contain the runes `abcdefghijklmnopqrstuvwxyz0123456789_-./`: trisberg/my-image:my-tag
```

---
Vote on this request

This is an invitation to the community to vote on issues, to help us prioritize our backlog. Use the "smiley face" up to the right of this comment to vote.

👍 "I would like to see this bug fixed as soon as possible"
👎 "There are more important bugs to focus on right now"

We are also happy to receive and review Pull Requests if you want to help fix this issue.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.