i have an nodeJs backend which is hosted on digitalocean now what i want is that whenever i push to my bitbucket with pipelines the image is build on the docker hub that part i have completed now i want that how can i get that image to the digitalocean image registry, so that i can deploy that to the drop

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.

×
1 answer

Hi, once you have the image built, you can tag it with the digitalocean registry name and push it to the relevant registry. Here is a quickstart to push images to registry: https://www.digitalocean.com/docs/images/container-registry/quickstart/#push-to-your-registry

  • @peeyush91 ji thanks for the reply i am following the same documentation but it is not very clear i am facing a problem following that so, any other alternative or any place from where i get the example, because while authenticating i am getting error in it

    • Can you paste the error you are getting while authenticating? If you are able to authenticate using doctl and API token. “doctl registry login” should work as is.

Submit an Answer