I
I
Igor Cherny2020-08-24 19:40:31
Java
Igor Cherny, 2020-08-24 19:40:31

Docker Login before tests in a project?

Hello, I
have a Maven project with component tests. The tests need to download some dockers from the private Docker repository.
Locally, I added an auth block to .docker/config.json and everything ran great. Can I add docker auth to the project?
That is, no matter where the tests are run, docker logs into this repo? I thought about the Surefire plugin, but did not find anything there.
Thank you.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question