optiopay / klar

Integration of Clair and Docker Registry
MIT License
507 stars 140 forks source link

Fix scaning of public images #43

Closed hashmap closed 7 years ago

hashmap commented 7 years ago

This change fix pulling of public images (#42). Currently, Klar always expects DOCKER_USER to be specified which is not required in this particular case.

This behavior is hard to test in unit tests, the integration test is not a part of the project yet. Also we don't have integration tests running as part of PR process, I do it on my machine and use my env file which contains DOCKER_USER. Now I run it twice with different env files. I'll create a separate issue for test & build improvement.