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
Error fetching metadata from Github Container Registry #522
Comments
We are having the exact same issue. Just started happening today. We are also using digest with ghcr.io, I also checked that my PAT is working fine, and it is reporting the exact same error. I also get the error when I try to use the
ERRO[0001] Error fetching metadata for org/image:tag - neither V1 or V2 or OCI manifest returned by registry: manifest unknown: OCI index found, but Accept header does not support OCI indexes application=test image_alias= image_digest= image_name=ghcr.io/org/image image_tag=tag registry_url=ghcr.io |
Same issue here, started yesterday |
If someone has a public image that reproduces this issue, I'd be grateful for that and would push out a fix quickly once I figured out what's wrong. |
|
Not sure if it's applicable, but in manual reproduction of this issue I found out that adding
but with addition of
|
We just released v0.12.2 which should fix this issue. If it doesn't, feel free to reopen, please. |
And thanks a lot @dir01 for providing the public image to test against. Much appreciated! |
@jannfis The image was updated and the Helm chart was updated, but unfortunately the new Helm chart does not reference the new image in it's |
@christian-schlichtherle The Image Updater never touches a Helm chart directly, so I'm not sure what you mean by
Could you elaborate a little on that, please? |
@jannfis You need to update the file |
Ah. You mean the Helm chart for Argo CD Image Updater. Now I understand. Sorry :) Unfortunately, I'm not the one managing this chart. Please contact the kind folks over at https://github.com/argoproj/argo-helm |
Describe the bug
We are using the ArgoCD Image Updater 0.12.1 for Continuous Deployment to our development environment. More specifically, we are using the update-strategy
digest
to observe image updates for the tagmain
on an image that is hosted on ghcr.io for our organization, hence the repos are private.This was working fine for months until this morning. Sometime today, it stopped working and the Image Updater keeps logging error messages like the following:
Looks like the behavior of ghcr.io has been changed, but maybe I should change the Accept header to whatever is required, but how?
As a side, I have checked the validity of my Personal Access Token (PAT) for ghcr.io - it's fine. I even created a new PAT just in case, but that changed nothing.
To Reproduce
Setup a private repo on GitHub, push some image, then configure the ArgoCD image updater using it's annotations and watch the logs.
Expected behavior
An update to the images.
Additional context
see above
Version
see above
Logs
see above
The text was updated successfully, but these errors were encountered: