getporter/porter

(bug): Unable to pull bundles with latest tag

Opened this issue · 1 comments

Describe the bug

When pulling a bundle with :latest at the end, an additional : gets added

To Reproduce

porter install --force porter-hello --reference ghcr.io/getporter/examples/porter-hello:latest
unable to pull bundle: ghcr.io/getporter/examples/porter-hello:latest: not found
unable to pull bundle: ghcr.io/getporter/examples/porter-hello:latest: not found

Expected behavior

Bundle properly gets downloaded

I'm assuming it is something within the resolveBundleReference function, and perhaps (since this was most recently touched) ensureVPrefix func.

Talked in Group: This is because you need to push up that bundle with the latest tag ✨ this is a todo for me @schristoff