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

[ECR] [request]: Repository create on push #853

Open
rpnguyen opened this issue Apr 24, 2020 · 31 comments
Open

[ECR] [request]: Repository create on push #853

rpnguyen opened this issue Apr 24, 2020 · 31 comments
Labels
ECR Amazon Elastic Container Registry Work in Progress

Comments

@rpnguyen
Copy link
Contributor

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Tell us about your request
When pushing an image, create the repository automatically if it doesn't exist.

Which service(s) is this request for?
ECR

Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard?
Before pushing an image, I need to first create the repository which adds friction.

Are you currently working around this issue?
Creating the repository before push

Additional context

@rpnguyen rpnguyen added the Proposed Community submitted issue label Apr 24, 2020
@omieomye omieomye added the ECR Amazon Elastic Container Registry label Apr 24, 2020
@rpnguyen rpnguyen removed the Proposed Community submitted issue label Jul 17, 2020
@joshrivers
Copy link

It would be very useful if auto created repositories could also have resource policies attached when they are created.

@rpnguyen
Copy link
Contributor Author

@joshrivers thanks for the great input! We're thinking of doing that as part of #799

@sputmayer
Copy link

This feature works really well in artifactory and nexus and would be helpful in automated scripts if pushing to ECR.
Right now if the entire path does not exist and you try to push into ECR, an EOF error is thrown which is not very easy to debug if you are coming from one of these other products where this feature is baked into docker push.

@michaelasper
Copy link

Just to add, this is something other cloud providers support (GCP) and makes them (GCR) a much better host for images in our multi cloud setup.

@srrengar srrengar assigned arunsollet and unassigned srrengar Feb 18, 2022
@ArsalanSaleem94
Copy link

Hi any update on this ??

@sumanthkumarc
Copy link

+1 for the feature. I can't imagine why AWS already didn't implement this, atleast as a optional setting in ECR. This improves developer experience hugely.

@alem5
Copy link

alem5 commented Jul 4, 2022

+1 Auto-Create Repository on Push is really expected and important feature from registry service, it is really critical to have it from the box (like the other competitors have)
AWS team - please implement that feature for your community! Thanks!

@Hargeek
Copy link

Hargeek commented Jul 13, 2022

+1 I really need this feature

@MichaelErmer
Copy link

MichaelErmer commented Jul 15, 2022

This is the largest blocker for us in fully transitioning to ECR.

Unbelievable it doesn't exist yet...

@johan-vromo
Copy link

johan-vromo commented Aug 21, 2022

+1 any update on this?

@satya-dillikar
Copy link

+1 we really need this feature

@kg6zjl
Copy link

kg6zjl commented Sep 30, 2022

+1 would love to see this as well.

@gasiorroiasg
Copy link

+1 it is a blocker for me to move to ECR completely. would love to get an update if this featrure will be added.

@vrabbi
Copy link

vrabbi commented Oct 26, 2022

We really need this feature as well, otherwise we simply cant use ecr.
I really hope this gets added soon as i would love to use ecr but simply cant add this overhead in our scenario

@vladimir259
Copy link

vladimir259 commented Nov 25, 2022

+1 for that feature.
Can't believe it does not exist 🤦🏻

@ynamadi
Copy link

ynamadi commented Dec 5, 2022

+1 Absolute blocker to using ECR! We need this feature enhancement.

@heyjcollins
Copy link

Please please please make it so!
All other repositories have this feature which makes integrations with ECR a bear.

@Flydiverny
Copy link

Flydiverny commented Dec 10, 2022

I don't understand how this is so hard, this text is in the beginning of every issue, and is applies to a lot more than just this AWS repo:

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request

It's very disappointing to get updates as a follower on this issue with yet another person writing pointless comments.
Ironically quite a few people that left +1 comments haven't even given a thumbs up so their voice is not even heard.

That will help make the issue more visible when maintainer sort by 👍-reactions, which is what they do..

image

(example)

If you are truly interested in getting priority bumped for repos that use systems like this just click the good damn 👍 button on the issue (the post at the top) and be happy 😄

Anyway sorry for contributing to the notifications and the rant..

@alexlokshin-czi
Copy link

+1

@jlbutler
Copy link

Hi everyone. I apologize for being late to update on this one. We absolutely hear that this is a feature that many customers would like to see. The 'under consideration' tag still applies, and hopefully we provide more updates soon.

By design, ECR has not had create on push as a number of features and configuration options exist for repositories. Settings for these features, from access controls to tag immutability to encryption have a default of 'none', for security reasons. So we need to sort that out before we create repos that aren't useful for most use cases.

Our plan is still to leverage registry-scoped configuration profiles, see #799 . This was the idea a while back and it still makes sense, but we needed to do some initial work in the service. At this point, we're starting to scope this out. I know it's been a while, thanks for your patience and we do hear you.

We'll share more when we have some tangible news to share. Thanks all!

@hsejour hsejour assigned hsejour and unassigned arunsollet Apr 6, 2023
Racer159 added a commit to zarf-dev/zarf that referenced this issue Apr 18, 2023
…ushes (#1590)

## Description

This PR creates a tunnel per image push (making it easier to implement
concurrency - may do that in this PR if we can confirm that issues are
mitigated) moves the CRC from the image name to the tag and changes the
UI to use a progressbar instead of a spinner for better user feedback.

## Related Issue

Relates to #1568 , #1433, #1218, #1364

This also will make #1594 slightly easier.

(See aws/containers-roadmap#853)

Fixes: #1541

## Type of change

- [X] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Other (security config, docs update, etc)

## Checklist before merging

- [X] Test, docs, adr added or updated as needed
- [X] [Contributor Guide
Steps](https://github.com/defenseunicorns/zarf/blob/main/CONTRIBUTING.md#developer-workflow)
followed
@simonlsk
Copy link

simonlsk commented May 3, 2023

I love AWS in general, but just so you know, this works fine in Google Cloud Container Registry.

@skchronicles
Copy link

@jlbulter Thank you for your detailed response! I appreciate hearing you all are actively working on this issue. Do you think this feature could potentially be released by the end of Q4 2023? No rush at all (workaround in the link below), I was just curious if there are any updates.

For the time being, I will use the suggestion listed:
https://stackoverflow.com/questions/51028677/create-aws-ecr-repository-if-it-doesnt-exist

Thank you again for your time,
@skchronicles

@hsejour
Copy link

hsejour commented Jun 28, 2023

Hi All, we are working on this. We'll provide an update on the progress at a later date.

@hsejour hsejour removed their assignment Sep 20, 2023
@bdw617
Copy link

bdw617 commented Oct 6, 2023

@hsejour any update on this? :) :)

@heyjcollins
Copy link

+1. Still waiting. Clearly there's a lot of interest.

@matteosilv
Copy link

May I suggest this should work in combination with the new repository templates feature?

To be clear now repository templates works only when it's AWS automation that are creating the repo. E.g. A pull through cache repo is created automatically (when the corresponding image is pulled by a client) and the template is applied.

However the template does not apply when I create a repo manually with the cli

@vikinghts
Copy link

Would love to have this feature. It would speed up development a lot.

@satyam7world
Copy link

This is by default in google cloud

@brianbraunstein
Copy link

+1

1 similar comment
@ChalakaNuwan
Copy link

+1

@ignazio-ingenito
Copy link

ignazio-ingenito commented Apr 24, 2024

What's the scoop?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ECR Amazon Elastic Container Registry Work in Progress
Projects
None yet
Development

No branches or pull requests