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
bump registry binary #80
Conversation
7671399
to
5c256c9
Compare
also i pushed
|
Thanks a lot for the fix @andriisoldatenko . I have performed few test and everything looks good now, Please find below details for same:
Please find below S3 access logs for reference:
In above logs we can see that now calls are being made by role mapped to service account that is pritt-registry |
@andriisoldatenko it's remarkable to me that we are building a binary in from some other repo by hand and storing the compiled result in this repo, as opposed to building it as part of the docker build process within this repo. We need to automate this, and make this process more direct. I've opened a ticket to address this issue: https://github.com/astronomer/issues/issues/2861 |
@danielhoherd i 100% agree with you but the problem originally here https://github.com/docker/distribution-library-image/tree/master/amd64. You can review official docker image. |
i think we can create multi stage dockerfile and get/build from source code and copy to empty layer, so we can remove binary. Only we still need to point to specific commit, since https://github.com/distribution/distribution doesn't have tag or release version since last 2 years!!. |
Which issue this PR fixes:
resolves https://github.com/astronomer/issues/issues/2836
Summary of changes:
TL;DR:
we are using old docker registry binary, i build new one 2.7.2 based on my fork https://github.com/andriisoldatenko/distribution/tree/main.
Also it's known issue with AWS SDK GO IRSA (distribution/distribution#3097).
We can switch to release version as soon as core team release it distribution/distribution#3311 (comment)
How i build new binary:
Which images are updated by this PR?:
Checklist (required)
Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.
Additional notes for your reviewer:
Need final verification from @pritt20 before merging: