-
Notifications
You must be signed in to change notification settings - Fork 282
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
fails to pull images built for single platform with docker build and push action #715
Comments
When image is built the new and preferred way using docker buildx build command the MediaType is set to differently from when using docker build command. Additional Accept headers should be added to the client to support both types.
|
I got the same issue with every deployment I tried to put keel on :(
|
I got the same issue |
I am getting the same it works with some docker hub images and not others, you can see pgadmin works fine, vaultwarden does not.
Just as an FWI diun works fine with both of those images. |
Requires additional mediatype in Accept headers.
MediaType: application/vnd.oci.image.index.v1+json
time="2023-04-03T00:53:00Z" level=error msg="trigger.poll.RepositoryWatcher.addJob: failed to get image digest" error="Get \"https://index.docker.io/v2/***/***/manifests/latest\": http: non-successful response (status=404 body=\"{\\\"errors\\\":[{\\\"code\\\":\\\"MANIFEST_UNKNOWN\\\",\\\"message\\\":\\\"OCI index found, but accept header does not support OCI indexes\\\"}]}\\n\")" image="***/***:latest" password="************************************" username=*** time="2023-04-03T00:53:00Z" level=error msg="trigger.poll.RepositoryWatcher.Watch: failed to add image watch job" error="Get \"https://index.docker.io/v2/***/***/manifests/latest\": http: non-successful response (status=404 body=\"{\\\"errors\\\":[{\\\"code\\\":\\\"MANIFEST_UNKNOWN\\\",\\\"message\\\":\\\"OCI index found, but accept header does not support OCI indexes\\\"}]}\\n\")" image="namespace:latest,image:index.docker.io/***/***:latest,provider:kubernetes,trigger:poll,sched:@every 1m,secrets:[regcred]" time="2023-04-03T00:53:00Z" level=error msg="trigger.poll.manager: got error(-s) while watching images" error="encountered errors while adding images: Get \"https://index.docker.io/v2/***/***/manifests/latest\": http: non-successful response (status=404 body=\"{\\\"errors\\\":[{\\\"code\\\":\\\"MANIFEST_UNKNOWN\\\",\\\"message\\\":\\\"OCI index found, but accept header does not support OCI indexes\\\"}]}\\n\")"
The text was updated successfully, but these errors were encountered: