Skip to content
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

failed to initialize analyzer: validating registry read access: ensure registry read access #1402

Open
yuvalshp opened this issue Sep 17, 2024 · 4 comments
Labels
status/awaiting-response Further information is requested type/bug Something isn't working

Comments

@yuvalshp
Copy link

Summary

Hi,

I'm using the Tekton Buildpacks task from this link:
https://hub.tekton.dev/tekton/task/buildpacks

I'm working with a private registry (Harbor) and followed the documentation here:
https://github.com/tektoncd/catalog/blob/main/task/buildpacks/0.6/samples/dockerconfig.yaml

However, I'm encountering the following error:

failed to initialize analyzer: validating registry read access: ensure registry read access

The config.json is valid.
The connection to Harbor is confirmed to be working.
Im using in the "paketobuildpacks/builder:base" for builder.
What could be causing this issue?

thanks


Reproduction

Steps
Current behavior
Expected behavior

Context

lifecycle version
platform version(s)
anything else?
@yuvalshp yuvalshp added status/triage type/bug Something isn't working labels Sep 17, 2024
@natalieparellano
Copy link
Member

@yuvalshp try turning on verbose logging to get a more useful error (or, make sure your lifecycle version is at least v0.20.0). You should be getting more information in the error message

@natalieparellano natalieparellano added status/awaiting-response Further information is requested and removed status/triage labels Sep 18, 2024
@yuvalshp
Copy link
Author

Hi @natalieparellano,

I upgraded to the new version, and it's working great—thank you! I have another question: Is it possible to use my settings.xml for a Java application?

@natalieparellano
Copy link
Member

@yuvalshp that's great news! I am not a Java person, but you could ask the Paketo folks at paketobuildpacks.slack.com (as you're using their builder)

@natalieparellano
Copy link
Member

That seems to not be the best Slack link (if you're not already a member) - try the one here: https://paketo.io/community/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status/awaiting-response Further information is requested type/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants