How to upload docker image with .net core app to Digitalocean?

Hello everyone. Could you help me with this service. I try to set up simple ci/cd service. I have git repo with asp .net core application. Than it automaticaly pushes it to travis. How can i upload my entire repo in docker container to Digitalocean from travis? I just can’t inderstand how to upload docker image on Digital. Thank you.


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.


What I could suggest is just pushing your Docker images to Docker hub for example. And then you could just pull the images on your DigitalOcean droplet.

To push an image to Docker hub you could follow the steps listed on the Docker website:

Once your images have been pushed to the Docker hub, you could pull them as a normal image.

Of course if you want to automate the deployment of the images, you could use something like Ansible for example.

Hope that this helps! Regards, Bobby