-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
feat: support registry token #482
Conversation
57e1158
to
b49df69
Compare
b49df69
to
ee1704f
Compare
@@ -0,0 +1,112 @@ | |||
package docker |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Where are the functions in this file used besides in a test? Maybe I missed something here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This package is completely for testing. I copied this file from https://github.com/aquasecurity/harbor-scanner-trivy/blob/master/test/component/docker/docker.go. I separated the package so that it can be used from some tests.
* feat: support registry token * chore(mod): update * test(integration): add registry tests * chore(mod): update * test(integration): comment in terminate Co-authored-by: Simarpreet Singh <simar@linux.com>
* feat: support registry token * chore(mod): update * test(integration): add registry tests * chore(mod): update * test(integration): comment in terminate Co-authored-by: Simarpreet Singh <simar@linux.com>
* build(actions): Build/test on Windows/MacOS/Linux Signed-off-by: Liam Galvin <liam.galvin@aquasec.com> * fix: Fix tests on windows * fix: Fix racy test * chore(memoryfs): Update to latest memoryfs * fix: Fix module source prefix detection for local * remove comment
Close #453