How can I push multiple containers, created with docker-compose, to a registry

HOW TO -️ October 18, 2021

I am using Jenkins pipeline and run a shell command to bring up my linked containers for testing. Once the testing is complete, I want to push the containers to a registry (I would prefer AWS ERC, but at this point I will take any working examples). What is the proper way to do this? Should each image go to a different repository? How can I get all of the containers created by the compose file pushed up? I have been attempting to get this done with the docker-compose push command, but I can't seem to get it working properly or find any decent examples.


ERROR Rendering Code Block


ERROR Rendering Code Block


You should probably remove passwords from your question..