GithubHelp home page GithubHelp logo

Comments (4)

abienkowski avatar abienkowski commented on August 27, 2024

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.

% docker buildx imagetools inspect ***/***1:latest
Name:      docker.io/***/***:latest
MediaType: application/vnd.oci.image.index.v1+json
....

% docker buildx imagetools inspect ***/***2:latest 
Name:      docker.io/***/***:latest
MediaType: application/vnd.docker.distribution.manifest.list.v2+json
...

from keel.

plpetkov-tech avatar plpetkov-tech commented on August 27, 2024

I got the same issue with every deployment I tried to put keel on :(

time="2023-04-04T14:31:01Z" level=error msg="trigger.poll.RepositoryWatcher.addJob: failed to get image digest" error="Get \"https://ghcr.io/v2/xxx/txxxc/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="xxxx/txxxxc:latest" password= username=

from keel.

OXIDFabian avatar OXIDFabian commented on August 27, 2024

I got the same issue
time="2023-04-05T00:00:15Z" level=error msg="trigger.poll.RepositoryWatcher.addJob: failed to get image digest" error="Get \"https://ghcr.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-05T00:00:15Z" level=error msg="trigger.poll.RepositoryWatcher.Watch: failed to add image watch job" error="Get \"https://ghcr.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:****,image:ghcr.io/****/****:latest,provider:helm3,trigger:poll,sched:@every 2m,secrets:[]"

from keel.

shanehughes1990 avatar shanehughes1990 commented on August 27, 2024

I am getting the same it works with some docker hub images and not others, you can see pgadmin works fine, vaultwarden does not.

time="2023-04-05T01:44:52Z" level=info msg="trigger.poll.RepositoryWatcher: new watch tag digest job added" digest="sha256:ab5907625160a1b178de3e2f495c8ad0a17712f3bac2214614ec02b5db809fa4" image="dpage/pgadmin4:latest" job_name="index.docker.io/dpage/pgadmin4:latest" schedule="@every 10m"
time="2023-04-05T01:44:53Z" level=error msg="trigger.poll.RepositoryWatcher.addJob: failed to get image digest" error="Get \"https://index.docker.io/v2/vaultwarden/server/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="vaultwarden/server:latest" password= username=
time="2023-04-05T01:44:53Z" level=error msg="trigger.poll.RepositoryWatcher.Watch: failed to add image watch job" error="Get \"https://index.docker.io/v2/vaultwarden/server/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:frontend,image:index.docker.io/vaultwarden/server:latest,provider:kubernetes,trigger:poll,sched:@every 10m,secrets:[]"

Just as an FWI diun works fine with both of those images.

from keel.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.