-
Notifications
You must be signed in to change notification settings - Fork 186
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
Tern Docker image: Pulling images from private registry #1160
Comments
Hello! The issue of private repositories can be solved by either changing the Dockerfile or to mount the registries file to the build tern image. However, this doesn't work for situations where you want to run a demo registry without https or TLS verification. For this purpose, you would need to send the tls-verify=false flag to skopeo to pull the image. See #1087 (comment) for more info about how to add your private registry to the base tern image. Here's another suggestion from a similar question: #1121 (comment). |
Hi @software-testing-professional -- did you get a resolution to your issue or can I close this? |
I think so. I'll do some testing and reply tomorrow.
Am 27.06.2022 20:33 schrieb Rose Judge ***@***.***>:
Hi @software-testing-professional[1] -- did you get a resolution to your
issue or can I close this?
—
Reply to this email directly, view it on GitHub[2], or unsubscribe[3].
You are receiving this because you were mentioned.Message ID:
***@***.***>
[ { ***@***.***": "http://schema.org", ***@***.***": "EmailMessage",
"potentialAction": { ***@***.***": "ViewAction", "target":
"#1160 (comment)",
"url":
"#1160 (comment)",
"name": "View Issue" }, "description": "View this Issue on GitHub",
"publisher": { ***@***.***": "Organization", "name": "GitHub", "url":
"https://github.com" } } ]
|
Hi @rnjudge, yes it works now. It turned out that the Thanks for your help! Best regards, |
@software-testing-professional very happy to hear this! Thanks for your followup! |
Is it possible to pull and analyze images from a private registry (like Artifactory)?
This happens when the Tern container is used in Gitlab CI. Although a
docker login ...
has been executed, and the/.docker/config
has been mounted into the Tern container.It works fine on my local machine.
It results in
2022-04-21 09:04:17,531 - WARNING - docker_api - Build failed: Get https://***********.com/v2/its-javabase/manifests/java-11: unknown: Authentication is required
I'm running Tern like this:
Thanks for your help!
The text was updated successfully, but these errors were encountered: