Skip to content
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

Test and add AWS ECR to the list of supported registries #18

Open
radu-matei opened this issue May 7, 2021 · 2 comments
Open

Test and add AWS ECR to the list of supported registries #18

radu-matei opened this issue May 7, 2021 · 2 comments
Labels
help wanted Extra attention is needed

Comments

@radu-matei
Copy link
Member

According to this blog post, AWS ECR should have support for storing OCI artifacts, meaning it should accept Wasm modules as well.
We should test that this is the case, then add it to the list.

If anyone with an AWS account wants to test it, that would be great!

@radu-matei radu-matei added the help wanted Extra attention is needed label May 7, 2021
@deepu105
Copy link

I can test this

@mreferre
Copy link

mreferre commented Mar 28, 2022

I came here to post an issue to track a potential PR and I found this one. Cool.

I have tested it a few minutes ago and it (seems) to work just fine:

$ aws ecr get-login-password --region us-west-2 | docker login --username AWS --password-stdin 693935722839.dkr.ecr.us-west-2.amazonaws.com
Login Succeeded

$ wasm-to-oci push python3.wasm 693935722839.dkr.ecr.us-west-2.amazonaws.com/python3.wasm:latest  
INFO[0009] Pushed: 693935722839.dkr.ecr.us-west-2.amazonaws.com/python3.wasm:latest 
INFO[0009] Size: 26193349                               
INFO[0009] Digest: sha256:6e723ad57cadd700e0fed37aa62b0dbe973af7597efaabac4265ad53ff90901e 

$ rm python3.wasm 

$ wasm-to-oci pull 693935722839.dkr.ecr.us-west-2.amazonaws.com/python3.wasm:latest --out python3.wasm 
INFO[0010] Pulled: 693935722839.dkr.ecr.us-west-2.amazonaws.com/python3.wasm:latest 
INFO[0010] Size: 26193349                               
INFO[0010] Digest: sha256:a29013c02f0b76edbf2d7f57ca2f60c71cf33925119ebd3f7fb8c1d8c313386d 

$

PS the subject of this issue says ECS but it should really say ECR
PS2 also note that the 693935722839.dkr.ecr.us-west-2.amazonaws.com/python3.wasm repository needs to exist because ECR does not (yet) support create on push.

@radu-matei radu-matei changed the title Test and add AWS ECS to the list of supported registries Test and add AWS ECR to the list of supported registries Nov 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants