carvel-dev / imgpkg

Store application configuration files in Docker/OCI registries
https://carvel.dev/imgpkg
Apache License 2.0
262 stars 61 forks source link

imgpkg miscalculates apache/nifi copy, produces corrupt image layer when copying apache/nifi in a bundle #620

Open TheBritz opened 8 months ago

TheBritz commented 8 months ago

Miscalculation during copy

What steps did you take:

  1. Ran imgpkg copy -i on apache/nifi
    imgpkg copy -i apache/nifi:latest --to-repo my.registry.com/docker/apache/nifi

What happened:

What did you expect:

Corrupt image layer when copying in a bundle

What steps did you take:

  1. Create an image bundle that includes apache/nifi
  2. Publish image bundle
  3. Copy image bundle to a different registry
    imgpkg copy -b my.registry.com/docker/apache/nifi-bundle:latest --to-repo my.registry2.com/docker/apache/nifi-bundle

What happened:

Environment:


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 addressed as soon as possible" šŸ‘Ž "There are other more important things to focus on right now"

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

praveenrewar commented 8 months ago

My understanding is that it's an issue with the underlying libraries that imgpkg uses (@joaopapereira should be able to confirm once he is back)