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

fix: scan private registries #68

Merged
merged 4 commits into from
Dec 2, 2024
Merged

fix: scan private registries #68

merged 4 commits into from
Dec 2, 2024

Conversation

meysam81
Copy link
Contributor

@meysam81 meysam81 commented Nov 7, 2024

fixes #67

Full context:
Currently, the private registry docker images cannot be scanned, even when providing credentials, even when using GitHub PAT.

With the changes in this PR, I was once again able to scan images normally without issue.

P.S. Please install dependabot or renovatebot. I'll be happy to contribute on that side too if I get a confirmation from the maintainers.

@meysam81
Copy link
Contributor Author

ping @craigbox @avinashupadhya99

@matthyx
Copy link
Contributor

matthyx commented Nov 26, 2024

@meysam81 thanks for the suggestion, I'd like to have a renovabot action to maintain the image tag up-to-date please!

@matthyx
Copy link
Contributor

matthyx commented Nov 26, 2024

actually I wonder if we don't have it already? I saw another PR with v3.0.21

@meysam81
Copy link
Contributor Author

Well @matthyx , I love renovatebot and I fully support your decision.

But, please, whatever you end up executing, we want this yesterday :)

The official kubescape-action is not working for private images :(

@matthyx
Copy link
Contributor

matthyx commented Nov 26, 2024

does #70 solve your issue?

@meysam81
Copy link
Contributor Author

@matthyx

no, it does not

this line is failing the CI:

image_arg="registry://${image_arg}"

@matthyx matthyx merged commit 97e977f into kubescape:main Dec 2, 2024
6 of 7 checks passed
meysam81 added a commit to meysam81/build-docker that referenced this pull request Dec 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Impossible to scan private image from Github registry
2 participants