-
Notifications
You must be signed in to change notification settings - Fork 9
ECR support #49
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
Comments
@rothgar You can use a precompiled Porter binary (which uses cnab-to-oci) to verify.
If both commands work, let me know and I'll update our listing to include ECR! |
Thanks for those examples @carolynvs Here's the output I got but I'm not sure what it's trying to do when it's getting a 404 error
I tried running with |
This is the function that is failing in cnab-to-oci. It identifies all images used by the bundle, in this case 323238900174.dkr.ecr.us-east-1.amazonaws.com/porter-hello-installer, and it copies the images into the same repository as the bundle (in this case 323238900174.dkr.ecr.us-east-1.amazonaws.com/porter-hello). Here is porter's doc on the final destination of the bundle and images. What the publish workflow looks like at a high level is:
Specifically this line is failing I think based on the error: I'm not sure what is causing the 404 exactly. But seems like it is happening when copying the image from one repository to another. Does ECR let you push directly to a digest e.g. 323238900174.dkr.ecr.us-east-1.amazonaws.com/porter-hello@DIGEST? |
Ah, that makes sense. ECR doesn't support creating repos automatically on push. Once I created porter-hello-installer and porter-hello repos everything worked
|
Great! I will update the site to list ECR with a note about creating the repository first for both the invocation image and bundle. |
ECR supports OCI format and should probably be listed as compatible on the cnab website.
I tried using the cnab-to-oci tool to verify it but the tool won't build. cnabio/cnab-to-oci#107
What's the best way to verify CNAB support so ECR can be tested and listed as compatible on https://cnab.io/registries/?
The text was updated successfully, but these errors were encountered: