By dvysk
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.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hello,
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:
https://docs.docker.com/v17.12/docker-cloud/builds/push-images/
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
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.