Git Product home page Git Product logo

Comments (4)

voor avatar voor commented on August 22, 2024 1

We're interested in using imgpkg copy during our release pipeline to move a container from one registry to another while additionally adding a new tag. The image is already tagged with a git commit sha, but would like to semver it based on the tag name.

Something like --tag that could be specified multiple times would do it fantastically.

imgpkg copy -i dev.example.com/project/image:abc123sha --to-repo releases.example.com/project/image --tag v1.0.0 --tag bob

Image would then be pullable:

ctr i pull releases.example.com/project/image:v1.0.0
ctr i pull releases.example.com/project/image:bob
ctr i pull releases.example.com/project/image:abc123sha

from imgpkg.

gcheadle-vmware avatar gcheadle-vmware commented on August 22, 2024

Hi @trisberg!

Thanks for making this issue. I think adding this behavior when copying both bundles and images would be a valuable feature for imgpkg. This is something we have considered in the past, and we did not implement it in v0.3.0 of imgpkg (when we added the copy command). However, since you have provided a use case and created this issue, I believe that is enough of a signal to get the ball rolling on this enhancement.

from imgpkg.

aaronshurley avatar aaronshurley commented on August 22, 2024

Just to provide a brief update here. This is a good signal that we have a known limitation of our ability to interact directly with images (rather than bundles). We aren't planning to prioritize this immediately but we will keep this open as a known feature request. We would happily accept contributions for this.

from imgpkg.

scothis avatar scothis commented on August 22, 2024

I'm running into friction trying to publish imgpkg bundles to a common repository. In my case, I have a single repository that I have push rights to and need to host multiple bundles. The typical work around to use a distinct repository isn't an option because my access to a registry for this project is quite limited.

from imgpkg.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.