-
Notifications
You must be signed in to change notification settings - Fork 208
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
Improve error message when a docker image is passed to --reference #904
Comments
The problem is that $ porter explain -t getporter/porter-hello:v0.1.0
Name: HELLO
Description: An example Porter configuration
Version: 0.1.0
No credentials defined
Parameters:
Name Description Type Default Required Applies To
porter-debug Print debug information from Porter when executing the bundle boolean false false All Actions
No outputs defined
No custom actions defined |
It would be great if porter detected the type of the image pulled, and if it's a regular docker image, it should give you a better error message like "--tag should be the tag of a bundle, but an image tag was specified". |
I see error coming directly from dependency package: |
cnab-to-oci is a dependency of ours that we can contribute to in the cnabio org, similar to cnab-go. So no worries, we aren't limited to just solutions that are within Porter's codebase. |
porter explain
not showing info for some bundles
Describe the bug
For some reason
porter explain
not able to show bundle information for some bundles from https://hub.docker.com/r/getporter . I don't think its a bug. something to do with version mismatchTo Reproduce
Steps to reproduce the behavior:
porter explain --tag getporter/mysql:v0.1.1
porter explain --tag getporter/porter-hello-installer:0.1.0
Expected behavior
porter explain --tag getporter/porter-hello-installer:0.1.0
should work. right ?Porter Command and Output
Version
porter v0.22.1-beta.1-14-g4401e74 (4401e74)
The text was updated successfully, but these errors were encountered: