Comments (4)
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.
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.
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.
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)
- need some help setting up dev environment HOT 1
- Help with dev environment HOT 1
- Feature: Update non `images` fields HOT 2
- Assuming registry up-to-date status?
- Keel configuration to work behind a reverse proxy
- *v1beta1.CronJob: the server could not find the requested resource HOT 2
- Notifications feature proposal
- Website search bar not working
- Initial tag required? HOT 1
- High CPU usage HOT 5
- Fix documentation to add "Registry" webhook
- Bump helm chart release HOT 4
- Helm chart: Ingress not working with release name
- Add support for ntfy HOT 1
- Can keel handle multiple containers in a pod deployment? HOT 3
- Cannot use registry mirror
- keel is using deprecated api /apis/batch/v1beta1/cronjobs
- Helm chart still uses app version 0.19.1
- Timeout errors trying to use polling HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from keel.