-
Notifications
You must be signed in to change notification settings - Fork 151
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
Docker pull from gh packages fail with "no matching manifest for linux/amd64" #223
Comments
Hello @abelsromero , the official distribution channel is the DockerHub. We are using the ghcr repository for a temporary cache only, not sur if we can mask the « packages » page though. |
But still, the command should work right? It seems like maybe some metadata is not 100% accurate and DockerHub (which works) is making some fix under-the-hood. |
Never tried to pull the image directly, as I expect it to be fully managed by Docker Buildx. As you can see here: https://github.com/asciidoctor/docker-asciidoctor/blob/main/docker-bake.hcl#L28-L30 , the pull.push part is managed by the cache engine of BuildX. I have the same error as you when trying to pull the image: my gut feeling is that buildx only pushes the layers without a manifest (because there is no need to). What is the goal you would want to achieve by pulling this image directly? |
Related to #224, my first plan was pulling from cache to avoid network issues with dockerhub. But that's no longer the approach now. |
Oh I see, thanks for explaining! It might also be interesting to check for vulnerabilities in the cache image if we do it on the final image (ref. supply chain attacks...). When you say that you had netork issue with the dockerhub, was it during the build, or during usage of the final image? Also, is the usage of docker buildx an obstacle for you? |
Closing as "obsolete". Feel free to reopen with details if you still have the problem. |
Tried to pull from packages page and the following error is shown from Linux x86_64 machine.
The text was updated successfully, but these errors were encountered: