Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Command to create a tag for a manifest in the remote registry #471

Closed
Tracked by #459
qweeah opened this issue Aug 3, 2022 · 6 comments · Fixed by #519
Closed
Tracked by #459

Command to create a tag for a manifest in the remote registry #471

qweeah opened this issue Aug 3, 2022 · 6 comments · Fixed by #519
Assignees
Milestone

Comments

@qweeah
Copy link
Contributor

qweeah commented Aug 3, 2022

The proposed command is:

Usage:
  oras tag  REPO:<TAG|DIGEST> NEW_TAG

Flags:
  --ca-file string               server certificate authority file for the remote registry
  -d, --debug                    debug mode
  -h, --help                     help for tagging
      --insecure                 allow connections to SSL registry without certs
  -p, --password string          registry password or identity token
      --password-stdin           read password or identity token from stdin
      --plain-http               allow insecure connections to registry without SSL check
  -u, --username string          registry username
  -v, --verbose                  verbose output

Relate to #459

@qweeah qweeah changed the title Command to create/update a tag for a manifest in the remote registry Command to create a tag for a manifest in the remote registry Aug 3, 2022
@shizhMSFT shizhMSFT added this to the v0.15.0 milestone Aug 3, 2022
@shizhMSFT shizhMSFT moved this to Todo in ORAS-Planning Aug 9, 2022
@wju-MSFT
Copy link
Contributor

I will take care of this issue.

@wju-MSFT
Copy link
Contributor

Do we need to support multi-tagging in one cmd? If so, what should we use as a delimiter. @FeynmanZhou @shizhMSFT

@sajayantony
Copy link
Contributor

Let's use a multi-value flag similar to

➜ docker build -t hello-world:v1 -t hello-world:v2 .

This would avoid the need for a delimiter.

@shizhMSFT
Copy link
Contributor

Linking #355

@FeynmanZhou
Copy link
Member

FeynmanZhou commented Aug 24, 2022

Do we need to support multi-tagging in one cmd? If so, what should we use as a delimiter. @FeynmanZhou @shizhMSFT
@jwang1013 @oras-project/oras-maintainers

It makes sense to support multi-tagging in the oras push group instead of oras tag. There is a request from a user in #355. How about we create a separate issue to track multi-tagging in the oras push group?

@sajayantony
Copy link
Contributor

Let's use a multi-value flag similar to

➜ docker build -t hello-world:v1 -t hello-world:v2 .

This would avoid the need for a delimiter.

I realized that multiple flag values would mean you can pass in different repos. This might not be a good idea now and the comma separated values are probably better.

Repository owner moved this from Todo to Done in ORAS-Planning Sep 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

5 participants