-
Notifications
You must be signed in to change notification settings - Fork 50
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
OCI images not supported #43
Comments
This module relies on |
Thanks for the quick reply! |
Do you care to submit a PR? I'm not going to be able to implement this any soon! Sorry! |
Thanks for the update - I am not a go developer, unfortunately. Besides: I have no idea what the problem is, since you already reference the current distribution version which states that OCI is supported. So it might not be a simple dependency update after all. |
If I understand the problem correctly (reading your logs), I suppose the answer is as easy as adding the custom headers to each HTTP request. This can be done using the context. For details, I also need to dive a bit deeper. |
I changed the log output to get better error messages (e.g.
Then I had to add But in the next step deckschrubber tries to fetch the manifests and this fails:
I tried to use
Accepting both I do not know how to continue and I am tempted to just skip tags with OCI images instead of skipping the whole repository. 🙈 Edit: Maybe I have a completely different problem. My OCI images are not real images but the buildkit cache and buildkit chose to use the media type |
If you have a test-build I am happy to try it out! |
anyone managed to solve this? 🤔 ran into same headers-rabbit-hole with image build using buildx |
I ran into the same issue and as this project seems unmaintained I decided to create abwart. It's not a drop-in replacement for deckschrubber but it can be used for the same purposes by being deployed alongside a registry. |
Describe the bug
When having OCI images (f.e. created with Google Jib) in the registry, cleanup fails since the manifests could not be retrieved.
Logoutput:
To Reproduce
Add OCI images to repository, run deckschrubber.
Expected behavior
Cleanup of OCI images works.
Additional context
To support OCI images at least the http accept header must include
The registry logs contain the following hint
The image is created with Jib in OCI image format, registry 2.7.1 is used.
The text was updated successfully, but these errors were encountered: