Guide for building and pushing to server
- sudo docker build .
- sudo docker images
- copy the image id of the latest image
- Run the following command but replace IMAGEID with the image id you copied in the last step
- sudo docker tag IMAGEID docker-registry.ebrains.eu/workbench/pynutilprod:latest
- then you need to login to harbor, to do this you copy your cli secret from ebrains harbor website
- then run the following but replace CLISECRET with your clisecret
- echo CLISECRET | sudo docker login -u polarbean --password-stdin docker-registry.ebrains.eu
- sudo docker push docker-registry.ebrains.eu/workbench/pynutilprod:latest